This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gnat: build problems
- To: egcs-bugs at cygnus dot com
- Subject: gnat: build problems
- From: Patrik Hagglund <patha at ida dot liu dot se>
- Date: Sun, 24 May 1998 19:13:08 +0200
First the file gcc/README.gnat that should be there according to the
egcs FAQ is not present in egcs-1.0.3a.
Therefore I fetched egcs-1998-05-17 instead and tried to follow the
instructions.
The patch in README.gnat has a bug for ada/a-misc.c line 617: a
semicolon is missing.
Then there seams to be some bug in the constructed xgcc related to the
use of cpp.
./configure
make bootstrap
[...]
./xgcc -B./ -DIN_GCC -DSVR4 -g -I./include -I. -I../../gcc -I../../gcc/config -c ../../gcc/config/sparc/gmon-sol2.c -o gmon.o
../../gcc/config/sparc/gmon-sol2.c: In function `_mcleanup':
../../gcc/config/sparc/gmon-sol2.c:190: `PATH_MAX' undeclared (first use in this function)
../../gcc/config/sparc/gmon-sol2.c:190: (Each undeclared identifier is reported only once
../../gcc/config/sparc/gmon-sol2.c:190: for each function it appears in.)
make[2]: *** [gmon.o] Error 1
make[2]: Leaving directory `/home/patha/tmp/egcs-19980517/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/patha/tmp/egcs-19980517/objdir/gcc'
make: *** [bootstrap] Error 2
PATH_MAX *is* defined in limits.h.
Regards,
Patrik Hägglund