gcc-2.95.2 and libstdc++-v3

Rick Schumeyer rick.schumeyer@directray.com
Mon Jul 3 13:22:00 GMT 2000


I will repost my question without any formatting (my apologies):
Note: Since my last post, I corrected the enable-languages option for
configure.

I'm having problems compiling gcc-2.95.2 and libstdc++ 2.90.8.
(I have the file 20000420-libstdc++-v3.tar.gz)

I know that the docs for gcc recommend compiling in a separate dir,
which is what I'm trying
to do, but this isn't working for me.

If this has already been answered, please just point me in the right
direction!

My understanding from reading the docs is that the two should compile
together,
with g++ using libstdc++-v3 by default.  Here is how I attempt
compilation:

(The machine is a pc running RH 6.2 with gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release) already installed)

I unpack gcc-2.95.2.tar.gz and gcc-2.95.2.tar.gz to ./gcc-2.95.2.
I place 20000420-libstdc++-v3.tar.gz in ./gcc-2.95.2 and unpack it.
I then move libstdc++ to libstdc++-v2, and libio to libio-v2.
Then, ln -s libstdc++-v3 libstdc++

I create a directory "objdir" parallel to gcc-2.95.2, and chdir to it.
../gcc-2.95.2/configure --enable-languages=c++ > & config.out
make bootstrap >& make.out

I receive the following error:

TARGET_MACHINE=i686-pc-linux-gnu; srcdir=`cd ../../gcc-2.95.2/gcc; pwd`;
\
INSTALL_ASSERT_H=; SHELL=/bin/sh ;\
export TARGET_MACHINE srcdir INSTALL_ASSERT_H SHELL ; \
/bin/sh ./fixinc.sh `pwd`/include /usr/include
./fixinc.sh: ./fixinc.sh: No such file or directory
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/ftp/obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/ftp/obj/gcc'
make: *** [bootstrap] Error 2



More information about the Libstdc++ mailing list