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: STL for gcc compiler


Maureen Altenau wrote:

> I have downloaded the gcc compiler and need the Standard Template
> Library (STL).  Is there a corresponding STL and if so, what site
> can it be downloaded from?

You should already have it; an implementation of STL is included with
the C++ runtime library. (The exception is if you only downloaded the
gcc-core package in which case you don't have a C++ compiler either.) If
you'd like to see for yourself, the header files are in the
include/g++-v3 subdirectory beneath the prefix you installed GCC to, but
this directory is searched automatically by the C++ compiler so you
don't need to specify it.

One final caveat if you're new to GCC - you should compile and link C++
code using 'g++' and not 'gcc'.

Rup.


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