This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems linking c++ statically on AIX using gcc 3.2
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Mads" <mki at maconomy dot dk>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 05 Sep 2002 12:24:27 -0400
- Subject: Re: Problems linking c++ statically on AIX using gcc 3.2
>>>>> Mads writes:
Mads> and binutils 2.13 (ld & as)
Mads> Linking on AIX is tricky. But using gnu ld it shouldn't be THAT tricky?
Mads> Can anyone give me a hint to what the problem (or the solution) is?
First, try this without GNU binutils.
Second, read the target/host specific installation notes for AIX:
"The GNU Assembler incorrectly reports that it supports WEAK symbols on
AIX which causes GCC to try to utilize weak symbol functionality which is
not really supported on the platform. The native as and ld still are
recommended. The native AIX tools do interoperate with GCC."
David