Article View: gnu.gcc.help
Article #67Re: Building gcc/g++ on our RS/6000...
From: Tom McConnell
Date: Wed, 22 Jul 1992 14:40
Date: Wed, 22 Jul 1992 14:40
53 lines
2861 bytes
2861 bytes
In article <9207220019.AA42289@st6000.sct.edu>, install2@st6000.sct.edu (Ron Skopitz) writes:
> To those who might help...
>
> We are having difficulties compiling gcc-2.2.2 on our RS/6000 running
> version 3.2 of AIX. We have gotten past the previous problems involving the
> faulty assembler.
Just to be sure, you did this change in ./gcc-2.2.2/config/rs6000.h (After
installing APAR IX22829):
===========================================================================
/* 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 (I con't remember if this is the default):
===========================================================================
/* This is the only version of nm that collect2 can work with. */
#define REAL_NM_FILE_NAME "/usr/ucb/nm"
===========================================================================
> However, the compile now has an error trying to compile
> "bison.simple" and the make breaks fully at "cp-lex.c". Since the lexical
> analyzer is no minor part of the compiler, this is a fairly serious problem.
> There is a suggested fix in the "cp-lex.c" file, but this did not work. If
> anyone can give us some insight, we would be highly appreciative. A full
> make history is available for anyone who might be interested in seeing the
> actual error.
>
>
> Thanks!
> Ron Skopitz
> rskopitz@st6000.sct.edu
> (for individual replies to this question)
>
> Southern College of Technology
Could you mail (or post) the section of the make that fails? I have had no
problems with gcc-2.2.2 on AIX 3.1.6 or AIX 3.2. Is it breaking because you
don't have bison? You need bison installed on your system (I have version 1.18,
but bison-1.14 works also).
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.
Technical Details
Message-ID:
<1992Jul22.144023.19130@ichips.intel.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!iWarp.intel.com|ichips!tmcconneReferences:
<9207220019.AA42289@st6000.sct.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!iWarp.intel.com|ichips!tmcconne From: tmcconne@sedona.intel.com (Tom McConnell) Subject: Re: Building gcc/g++ on our RS/6000... Message-ID: <1992Jul22.144023.19130@ichips.intel.com> Originator: tmcconne@sedona Sender: tmcconne@sedona (Tom McConnell) Reply-To: tmcconne@sedona.intel.com Organization: Intel Corporation References: <9207220019.AA42289@st6000.sct.edu> Distribution: gnu Date: Wed, 22 Jul 1992 14:40:23 GMT Lines: 53