This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: STL for gcc compiler
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Altenau, Maureen D CECOM RDEC C2D'" <Maureen dot Altenau at mail1 dot monmouth dot army dot mil>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 31 Jan 2002 07:44:22 -0000
- Subject: 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.