This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: include/g++-v3/c++ path with libstdc++ under gcc 3.1
- From: Christoph Bugel <chris at tti-telecom dot com>
- To: John Clinton <j dot clinton at aristoslogic dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 31 May 2002 00:46:21 +0300
- Subject: Re: include/g++-v3/c++ path with libstdc++ under gcc 3.1
On 2002-05-30 John Clinton wrote:
> After building and installing gcc 3.1 I ran into compile
> errors in that the libstdc++ header files could not find
> bits/c++config.h. After search for this file I found it was
> under this extra c++ directory. That is it was
>
> ..../include/g++-v3/c++/bits/c++config.h
> instead of
> ..../include/g++-v3/bits/c++config.h
>
> I worked around this by adding an extra -I option to the c++
> directory.
>
> My config option for gcc were:
>
> ../gcc-3.1/configure --prefix=/proj/alctools/gcc/linux_i386_$ver --disable-s
> hared --enable-static --enable-long-long --enable-languages="c c++"
The correct syntax is: --enable-languages=c,c++
(or simply --enable-languages=c++ because C is enabled by default)