This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)
- To: egcs-bugs at cygnus dot com
- Subject: unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)
- From: Patrik Hagglund <patha at ida dot liu dot se>
- Date: Tue, 16 Jun 1998 19:47:51 +0200
FYI, it is still not possible to build gnat with the latest snapshot.
Output:
[snip]
gcc -c -DIN_GCC -DSVR4 -g -O2 -I. -I.. -I../../../gcc/ada -I../../../gcc/ada/.. -I../../../gcc/ada/../config ../../../gcc/ada/a-gtran3.c
In file included from ../../../gcc/ada/a-gtran3.c:51:
../../../gcc/ada/a-misc.h:66: conflicting types for `lang_decode_option'
../../../gcc/ada/../tree.h:1970: previous declaration of `lang_decode_option'
make[2]: *** [a-gtran3.o] Error 1
make[2]: Leaving directory `/home/patha/tmp/egcs-19980615/objdir/gcc/ada'
make[1]: *** [gnat1] Error 2
make[1]: Leaving directory `/home/patha/tmp/egcs-19980615/objdir/gcc'
make: *** [all-gcc] Error 2
Commands:
tar zfxv egcs-19980525.tar.gz
tar zfxv gnat-3.10p-src.tar.gz
cd gcc
cp -r ../../gnat-3.10p-src/src/ada .
patch -p0 < README.gnat
cd ..
mkdir objdir; cd objdir
../configure
make
Regards,
Patrik Hägglund