This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiled egcs-1.0.3a on AIX 4.3 with xlc. Something strange with xlc.
- To: Marco Morandini <marc2 at vedyac dot aero dot polimi dot it>
- Subject: Re: Compiled egcs-1.0.3a on AIX 4.3 with xlc. Something strange with xlc.
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 09 Jun 1998 13:01:40 -0400
- Cc: egcs at cygnus dot com
>>>>> Marco Morandini writes:
Marco> Don't know why, but I had to modify line 2952 of gcc/collect2.c:
Marco> p = (char*) strstr (prog_name, "libgcc.a");
Marco> instead of
Marco> p = strstr (prog_name, "libgcc.a");
What does compiling egcs-1.0.3a with "xlc" mean? Does it mean you
tried to use the "xlc" driver instead of the default "cc" driver? Why?
Maybe we need to include <string.h> to prototype strstr(), but
"xlc" is much more picky. The AIX compiler only is used for phase 1 of
the bootstrap, so the it need not be the strict-ansi version.
Marco> I also had to install the fix for APAR IX74254 as suggested in
Marco> README.RS6000 found in the
Marco> gcc 2.8.1 distribution.
README.RS6000 is in the egcs-1.0.3a/gcc directory. It is
identical to the version in gcc-2.8.1.
David