How to choose STL library?

Phil Edwards pedwards@disaster.jaj.com
Tue Apr 17 13:40:00 GMT 2001


On Mon, Apr 16, 2001 at 03:21:01PM -0400, Liu, Guangsheng wrote:
> >libc.so has nothing to do with the STL.  The implementation is mostly
> >in the header files themselves since we have no 'export' keyword yet,
> >and in libstdc++.so.
> 
> if libc.so has nothing to do with STL. Why I can build a application like
> this in Linux without "stdc++". 

I should have written "and in libstdc++.so or libstdc++.a".  You probably
only have the static library available on your system; this possibility
did not occur to me until this morning.  (And as a result, your C++
executables are probably quite large compared to a similar C executable.)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.



More information about the Gcc mailing list