This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: 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)


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