This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)
- To: Patrik Hagglund <patha at ida dot liu dot se>
- Subject: Re: unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)
- From: Dave Brolley <brolley at cygnus dot com>
- Date: Tue, 16 Jun 1998 15:17:27 -0400
- CC: egcs-bugs at cygnus dot com
- Organization: Cygnus Solutions Canada Ltd
- References: <199806161747.TAA18551@portofix.ida.liu.se>
Patrik,
Please see the file gcc/LANGUAGES for details on how to fix this problem.
Dave
Patrik Hagglund wrote:
> 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