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: -nodefaultlibs and gxx_personality


Ivan Novick <ivandn@yahoo.com> writes:

> I am trying to use -nodefaultlibs to exclude libstdc++
> but something is trying to call `__gxx_personality_v0'
> which is in libstdc++.  How can one compile a simple
> C++ program without linking against libstdc++?

Link against -lsupc++.  This is a smaller library which includes the
basic supporting functions required to support exception handling.  It
does not include the STL.

Ian


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