forced dependency on libtsdc++

Daniel Berlin dberlin@redhat.com
Mon Nov 20 21:47:00 GMT 2000


Martin Sebor <sebor@roguewave.com> writes:


> 
> It's important for our implementation of the Standard C++ library (as
> well as other 3rd party standard libraries, I'm sure) not to depend on
> anything in libstdc++ if nothing else then for copyright reasons. Is
> there a way to _NOT_ link in libstdc++ and still get these symbols (this
> isn't limited to the operator new and delete but also exception
> handling, rtti, etc.)? 
> 
> Thanks
> Martin
> 
I believe the library you are looking for is called libsupc++.a now.
The C++ support bits were moved there from libgcc.

[dberlin@dan2 libsupc++]$ pwd
/home/dberlin/newabi/egcs/libstdc++-v3/libsupc++
[dberlin@dan2 libsupc++]$ ls 
CVS          configure.in  exception             new_op.cc     tinfo.h
Makefile.am  cxxabi.h      exception_support.cc  new_opnt.cc tinfo2.cc
Makefile.in  del_op.cc     exception_support.h   new_opv.cc typeinfo
aclocal.m4   del_opnt.cc   new                   new_opvnt.cc  vec.cc
config.h.in  del_opv.cc    new.h                 pure.cc
configure    del_opvnt.cc  new_handler.cc        tinfo.cc
[dberlin@dan2 libsupc++]$ 


--Dan



More information about the Gcc-bugs mailing list