This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiled egcs-1.0.3a on AIX 4.3 with xlc. Something strange with xlc.


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]