468,496 Members | 1,776 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,496 developers. It's quick & easy.

Does g++ come with a STL library default ?

I have look at the g++ library dierectory and found there is libstdc++
, does this contain the
STL library , or must I use the sgi stl library for STL mechanism ?

Thanks in advance !

Jul 26 '06 #1
4 10701

struggle wrote:
I have look at the g++ library dierectory and found there is libstdc++
, does this contain the
STL library , or must I use the sgi stl library for STL mechanism ?

<OT/gcc (g++) comes with the standard library, which includes what
you call the STL. </OT>

Best regards,

Tom

Jul 26 '06 #2
struggle wrote:
I have look at the g++ library dierectory and found there is
libstdc++, does this contain the
STL library , or must I use the sgi stl library for STL mechanism ?
This question is on-topic for a forum that discusses GNU's g++. This
newsgroup is only qualified to discuss the raw C++ language itself.

And once there, you might find the answer is "distribution-specific". I use
CygWin and Ubuntu, and each just comes with g++ and an STL. I have never
bothered to check which one it is.

So if you "look at the g++ library directory" and can't find an STL, then
you might need to step back and look at the big picture. Download a g++,
such as CygWin, and see what you get!

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
Jul 26 '06 #3
Hello,

Are you talking about libstdc++ and libg++? I suggest to give this page
a look:

http://gcc.gnu.org/libstdc++/

Cheers,
Jari

Jul 26 '06 #4
Thank you very much !
I have read that the STL have been include in the C++ standard library
, but there are also some STL implements such as SGI STL distributed
seprately . So g++ must contain the STL implements .
Thank you for your reply again !

Jul 26 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Steven D'Aprano | last post: by
2 posts views Thread by LifeStory via DotNetMonster.com | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.