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]

Re: unable to build gnat (egcs-19980615, gcc/tree.h, lang_decode_option)


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





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