Compilation/configure problem gcc-3.3.1

Roger C Haslock roger@haslock.com
Sun Sep 7 18:37:00 GMT 2003


Hi

I have just tried to compile/configure gcc-3.3.1.
I'm running (RedHat 7) linux with a 2.4.20 kernel.
I downloaded and unpacked binutils, and put links to the directories in the
gcc source directory.
I ran configure from the build directory (according to LFS advice), and got
the following. It seems to delete cax_demangle.c, and then complain about
its absense.
I would appreciate a hint.
I would also appreciate advice as to what standard info to include with a
request such as this.

Ta
- Roger -

../gcc-3.3.1/configure --prefix=/static --enable-languages=c --disable-nls -
-disable-shared && echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/static install &&
ln -s gcc $LFS/static/bin/cc
.
.
.
Making all in libsupc++
make[4]: Entering directory
`/var/LFS/gcc-build/i586-pc-linux-gnu/libstdc++-v3/libsupc++'
rm -f cxa_demangle.c
ln -s ../../../../gcc-3.3.1/libstdc++-v3/../libiberty/cp-demangle.c
cxa_demangle.c
/bin/sh ../libtool --tag CC --tag disable-shared --mode=compile
/var/LFS/gcc-build/gcc/xgcc -B/var/LFS/gcc-build/gcc/ -B/static/i586-pc-linu
x-gnu/bin/ -B/static/i586-pc-linux-gnu/lib/ -isystem
/static/i586-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../../gcc-3.3.
1/libstdc++-v3/libsupc++ -I.. -I../../../../gcc-3.3.1/libstdc++-v3/../gcc -I
../../../../gcc-3.3.1/libstdc++-v3/../include     -O2 -g -DIN_GLIBCPP_V3 -Wn
o-error -c cxa_demangle.c
/var/LFS/gcc-build/gcc/xgcc -B/var/LFS/gcc-build/gcc/ -B/static/i586-pc-linu
x-gnu/bin/ -B/static/i586-pc-linux-gnu/lib/ -isystem
/static/i586-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../../gcc-3.3.
1/libstdc++-v3/libsupc++ -I.. -I../../../../gcc-3.3.1/libstdc++-v3/../gcc -I
../../../../gcc-3.3.1/libstdc++-v3/../include -O2 -g -DIN_GLIBCPP_V3 -Wno-er
ror -c cxa_demangle.c -o cxa_demangle.o
xgcc: cxa_demangle.c: No such file or directory
xgcc: no input files
make[4]: *** [cxa_demangle.lo] Error 1
make[4]: Leaving directory
`/var/LFS/gcc-build/i586-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/LFS/gcc-build/i586-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/var/LFS/gcc-build/i586-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/var/LFS/gcc-build'
make: *** [bootstrap] Error 2



More information about the Gcc-help mailing list