home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8146 < prev    next >
Encoding:
Text File  |  1992-07-24  |  2.1 KB  |  58 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!iWarp.intel.com|ichips!tmcconne
  3. From: tmcconne@sedona.intel.com (Tom McConnell)
  4. Subject: Re: GCC 2.2.2 on AIX
  5. Message-ID: <1992Jul24.171711.25172@ichips.intel.com>
  6. Originator: tmcconne@sedona
  7. Sender: tmcconne@sedona (Tom McConnell)
  8. Reply-To: tmcconne@sedona.intel.com
  9. Organization: Intel Corporation
  10. References:  <1992Jul24.134259.27685@hp9000.csc.cuhk.hk>
  11. Date: Fri, 24 Jul 1992 17:17:11 GMT
  12. Lines: 44
  13.  
  14.  
  15. In article <1992Jul24.134259.27685@hp9000.csc.cuhk.hk>, a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes:
  16. > Hi all,
  17. > I'm novice to AIX and hope that this's not an FAQ.
  18. > I've an RS6000/320 running AIX (3.x, I forget it :(  )  I tried to
  19. > install gcc 2.2.2 on it but with following error encountered:
  20. > #make LANGUAGES=c
  21. > .....
  22. > _muldi3
  23. > Assembler:
  24. > /tmp/ccJmMCkR.s: line 25: Error In Syntax 
  25. > 1254-004  The error code from the last failed command is 1.
  26.  
  27.   As the error indicates, the assembler has a problem. You must do this:
  28.  
  29.   Get the assembler fix APAR IX22829, along with the change in
  30. ./gcc-2.2.2/config/rs6000.h:
  31. ===========================================================================
  32. /* Tell the assembler to assume that all undefined names are external.  Don't
  33.    do this until the fixed IBM assembler is more generally available.  */
  34.  
  35. #define ASM_SPEC "-u"
  36. ===========================================================================
  37.  
  38.   To make collect2 work on the RS/6000, you need to add the following to
  39. ./gcc-2.2.2/config/xm-rs6000.h:
  40. ===========================================================================
  41. /* This is the only version of nm that collect2 can work with.  */
  42. #define REAL_NM_FILE_NAME "/usr/ucb/nm"
  43. ===========================================================================
  44.  
  45.   You're right, this should be a FAQ.
  46.  
  47.     Cheers,
  48.  
  49.     Tom McConnell
  50. -- 
  51.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  52.  Intel, Corp. C3-21     |     Phone: (602)-554-8229
  53.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  54.  Chandler, AZ  85226    | their right mind would claim them.
  55.