This is the mail archive of the gcc-help@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: How do I add missing stdc functions to libstdc++-v3?


This would definitely suffice, but it is not happening on NEXTSTEP.  Linking with g++ issues -lstdc++ but -lsupc++ is not getting brought-in.  I have been trying to determine why this does not happen and how to fix it.  I assumed (incorrectly) that it was related to some configuration files, but perhaps it has to do with libtool, collect2 or ld?  Also please note that all these are static libraries because NEXTSTEP does not support building of shared libraries.

As always, andy guidance would be very much appreciated.  Thank you.

On 2012-03-20, at 12:30 PM, Ian Lance Taylor wrote:

> Vaugha Brewchuk <vaugha_brewchuk@yahoo.ca> writes:
> 
>> What configuration or setup file determines automatic linking of libsupc++?  I would like to fix it such that no manual intervention is required.
> 
> Normally libstdc++ is linked against libsupc++, so normally linking
> against -lstdc++ is sufficient to bring in -lsupc++.  I do not know why
> that does not suffice for you.  In other words, there is normally no
> automatic linking of libsupc++ because no such automatic linking is
> normally required.
> 
> Ian


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