home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gcc / help / 1810 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.7 KB

  1. Path: sparky!uunet!iWarp.intel.com|inews!tmcconne
  2. From: tmcconne@sedona.intel.com (Tom McConnell)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Re:
  5. Message-ID: <12567@inews.intel.com>
  6. Date: 29 Jul 92 18:05:26 GMT
  7. References: <9207290546.AA47295@st6000.sct.edu>
  8. Sender: news@inews.intel.com
  9. Reply-To: tmcconne@sedona.intel.com
  10. Distribution: gnu
  11. Organization: Intel Corporation
  12. Lines: 64
  13. Originator: tmcconne@sedona
  14.  
  15.  
  16. In article <9207290546.AA47295@st6000.sct.edu>, install2@st6000.sct.edu (Ron Skopitz) writes:
  17. > Howdy!
  18. >     Thanks all for the help!  GCC compiled flawlessly after your
  19. > instructions!  Now I assuming that I must build the libraries in order to
  20. > get anything to work. (?)  I compiled gcc into an install acount (not into
  21. > /bin/...) so maybr that is part of my trouble with the following error I get
  22. > when trying to compile libraries.  Any suggestions???  Once again, this is
  23. > an RS/6000 running AIX 3.2.  Thanks!!
  24.  
  25.   If you want g++, yes, you must compile libg++. Other than that there are no
  26. libraries.
  27.  
  28. > make all
  29. >         rootme=`pwd` ; export rootme; CC="cc `if [ -f ${rootme}/../gcc/gcc ] ; \
  30. >                 then echo -I${rootme}/../gcc/include ; \
  31. >                 else echo ; fi`"; export CC; \
  32. >                 ./utils/gen-params  >tmp-params.h
  33. > cc: 1501-218 file dummy.C contains an incorrect file suffix
  34. > nm: dummy.o: 0654-200 Cannot open the specified file.
  35.  
  36.   This appears to be from the libg++ stuff, trying to build  _G_config.h. In the
  37. version of libg++ I have (2.1), CC is passed as
  38.  
  39.     CC="gcc `if [ -f ${rootme}/../gcc/gcc ] ...
  40.  
  41. not as cc. I believe the only time cc is used is during the build of libiberty.
  42. Are you sure you ran configure:
  43.  
  44.     <libg++-2.1> configure rs6000
  45.  
  46. it may be that CC is being forced in one of the files in the ./libg++-2.1/config 
  47. directory (it shouldn't be).
  48.  
  49.   The other problem you may have is that gcc must be compiled with the knowledge
  50. of which nm to use:
  51.  
  52.   To make collect2 work on the RS/6000, you need to add the following to
  53. ./gcc-2.2.2/config/xm-rs6000.h:
  54. ===========================================================================
  55. /* This is the only version of nm that collect2 can work with.  */
  56. #define REAL_NM_FILE_NAME "/usr/ucb/nm"
  57. ===========================================================================
  58.  
  59.  
  60. >     See if you can make any sense outa this?!?  Thanks again...
  61. >                     --Ron Skopitz
  62. >                       install2@st6000.sct.edu
  63.  
  64.     Cheers,
  65.  
  66.     Tom McConnell
  67. -- 
  68.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  69.  Intel, Corp. C3-21     |     Phone: (602)-554-8229
  70.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  71.  Chandler, AZ  85226    | their right mind would claim them.
  72.