This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: gcc-2.95.2 and libstdc++-v3


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

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

When performing the same steps on an UltraSparc 10 running Solaris 7,
I get a different error:

 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o
" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac `    ` case "" i
n ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./gengenrtl tmp-genrtl.h tmp-genrtl.c
*** Signal 11
make: Fatal error: Command failed for target `s-genrtl'
Current working directory /space/rick/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Current working directory /space/rick/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

--
==========================
Rick Schumeyer, Ph.D.
Imaging Scientist
Direct Radiography Corp.
 


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