This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: mkcheck.in partial patch for AIX


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

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