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]
Other format: [Raw text]

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


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