This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Problem building gcc with new automake/autoconf



Hello!
I try to keep a cvs-updated version of automake/autoconf/libtool for a 
new feature in libtool. At the same time I try to keep cvs-updated gcc (in
particular g++). I am running all this on a laptop running RH6.2 
When running the automake/autoconf/libtool coming with RH6.2 I can compile
gcc but when running with the newer cvs-picked up versions of
automake/autoconf the compilation fails with the following message:

...

Making all in util
make[3]: Entering directory `/home/patrick/src/GNU/obj_gcc/texinfo/util'
gcc -DHAVE_CONFIG_H -I. -I../../../gcc/texinfo/util
-I.. -I../../../gcc/texinfo/lib -I../intl
-DLOCALEDIR=\"/usr/local/GNU/share/locale\"  -O -c
../../../gcc/texinfo/util/install-info.c
gcc -O  -o install-info  install-info.o ../lib/libtxi.a  -lz 
gcc -DHAVE_CONFIG_H -I. -I../../../gcc/texinfo/util
-I.. -I../../../gcc/texinfo/lib -I../intl
-DLOCALEDIR=\"/usr/local/GNU/share/locale\"  -O -c
../../../gcc/texinfo/util/texindex.c
gcc -O  -o texindex  texindex.o ../lib/libtxi.a  -lz 
make[3]: Leaving directory `/home/patrick/src/GNU/obj_gcc/texinfo/util'
make[2]: Leaving directory `/home/patrick/src/GNU/obj_gcc/texinfo'
make[1]: Leaving directory `/home/patrick/src/GNU/obj_gcc/texinfo'
Bootstrapping the compiler
make[1]: Entering directory `/home/patrick/src/GNU/obj_gcc/gcc'
make CC="gcc" libdir=/usr/local/GNU/lib LANGUAGES="c " LANG_LIB2FUNCS=
make[2]: Entering directory `/home/patrick/src/GNU/obj_gcc/gcc'
cd ../../gcc/gcc && autoheader
/usr/local/GNU/bin/autoheader: N: No such file or directory
autoheader: No template for symbol `HAVE_LONG_DOUBLE'
make[2]: *** [../../gcc/gcc/cstamp-h.in] Error 1
make[2]: Leaving directory `/home/patrick/src/GNU/obj_gcc/gcc'
make[1]: *** [stage_a] Error 2
make[1]: Leaving directory `/home/patrick/src/GNU/obj_gcc/gcc'
make: *** [bootstrap] Error 2

In order to compile gcc in a directory obj_gcc at the same level as gcc I
run 
../gcc/configure --prefix=/usr/local/GNU --enable-shared --enable-languages=c++,f77,java 
and then
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

Do you have any idea of what's going wrong?

Sincerely

Patrick Guio



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