home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!iWarp.intel.com|ichips!tmcconne
- From: tmcconne@sedona.intel.com (Tom McConnell)
- Subject: Re: GCC 2.2.2 on AIX
- Message-ID: <1992Jul24.171711.25172@ichips.intel.com>
- Originator: tmcconne@sedona
- Sender: tmcconne@sedona (Tom McConnell)
- Reply-To: tmcconne@sedona.intel.com
- Organization: Intel Corporation
- References: <1992Jul24.134259.27685@hp9000.csc.cuhk.hk>
- Date: Fri, 24 Jul 1992 17:17:11 GMT
- Lines: 44
-
-
- In article <1992Jul24.134259.27685@hp9000.csc.cuhk.hk>, a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes:
- > Hi all,
- >
- > I'm novice to AIX and hope that this's not an FAQ.
- >
- > I've an RS6000/320 running AIX (3.x, I forget it :( ) I tried to
- > install gcc 2.2.2 on it but with following error encountered:
- >
- > #make LANGUAGES=c
- > .....
- > _muldi3
- > Assembler:
- > /tmp/ccJmMCkR.s: line 25: Error In Syntax
- > 1254-004 The error code from the last failed command is 1.
-
- As the error indicates, the assembler has a problem. You must do this:
-
- Get the assembler fix APAR IX22829, along with the change in
- ./gcc-2.2.2/config/rs6000.h:
- ===========================================================================
- /* Tell the assembler to assume that all undefined names are external. Don't
- do this until the fixed IBM assembler is more generally available. */
-
- #define ASM_SPEC "-u"
- ===========================================================================
-
- To make collect2 work on the RS/6000, you need to add the following to
- ./gcc-2.2.2/config/xm-rs6000.h:
- ===========================================================================
- /* This is the only version of nm that collect2 can work with. */
- #define REAL_NM_FILE_NAME "/usr/ucb/nm"
- ===========================================================================
-
- You're right, this should be a FAQ.
-
- Cheers,
-
- Tom McConnell
- --
- Tom McConnell | Internet: tmcconne@sedona.intel.com
- Intel, Corp. C3-21 | Phone: (602)-554-8229
- 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
- Chandler, AZ 85226 | their right mind would claim them.
-