egcs 1.03 on SGI IRIX 6.4

James E. Rowley jer@research.att.com
Mon Jun 1 16:15:00 GMT 1998


I built egcs-1.0.3 on IRIX 6.4 using SGI's cc (mipspro version 7.2) as the
starting compiler; I had to remove the "-32" flag in the Makefile so that
all .o files would be n32.  The build completed and installed, I'll call it
round 1.

Next, I do the same thing - rebuilding egcs from scratch - with a new
installation directory, setting CC=gcc (the gcc build in round 1 above), I
then configured, built and installed the next round of gcc (call it round 2).

If I use round 2 gcc to compile egcs (from scratch) once again, I get an error:

concat.c: In function `concat':
concat.c:107: parse error before `const'
concat.c:107: parse error before `const'
concat.c:107: parse error before `const'
concat.c:107: parse error before `const'
concat.c:107: parse error before `const'
concat.c:107: parse error before `)'
concat.c: At top level:
concat.c:112: `length' undeclared here (not in a function)
concat.c:112: warning: initialization makes integer from pointer without a cast
concat.c:112: initializer element is not constant
concat.c:112: warning: data definition has no type or storage class
concat.c:117: parse error before `if'
concat.c:125: initializer element is not constant
concat.c:125: warning: data definition has no type or storage class
concat.c:126: parse error before `if'
concat.c:141: conflicting types for `end'
concat.c:125: previous declaration of `end'
concat.c:141: warning: data definition has no type or storage class
concat.c:143: parse error before `}'

This doesn't give great confidence in the resulting gcc, and by inference,
I'm not too confident in the round 1 gcc, either...Any thoughts on this?

- jim



More information about the Gcc-bugs mailing list