This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: mkcheck.in partial patch for AIX
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Re: mkcheck.in partial patch for AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sat, 04 Nov 2000 01:32:31 -0500
- cc: Mark Mitchell <mark at codesourcery dot com>, libstdc++ at sources dot redhat dot com
>>>>> Alexandre Oliva writes:
>> Yes, but this is somewhat C++-specific. Linking every -static
>> program against libiconv.a seems a bit much.
Alexandre> I thought it was a non-shared library that would be discarded unless
Alexandre> some symbol was imported from it. Isn't that the case?
libiconv.a is a shared library. I apparently is implicitly
re-exported by libc.a when linking shared, but needs to be referenced
explicitly when linking static. Possibilities include defining it in
LINK_SPEC or in MATH_LIBRARY used by g++spec.c.
David