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]

gnat: build problems


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


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