This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1.1 build on Irix 6.5
At 11:27 -0800 1999/02/26, Jeffrey A Law wrote:
>What happens if you run the "gencheck" program from that same directory? Do
>you get a bunch of #defines like this:
[...]
At 09:47 -0800 1999/02/26, Martin v. Loewis wrote:
>Please watch the steps of compiling and running gencheck carefully.
>In particular, I'd be interested in the preprocessor output for
>gencheck.i (you said you use some gcc to bootstrap, right?). Something
>strange with STRINGIFY might have happened.
I logged the original gmake, here's what it showed with gencheck:
gcc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/co
nfig /usr/local/pkg/egcs/egcs-1.1.1/src/gcc/gencheck.c
gcc -DIN_GCC -g -DHAVE_CONFIG_H -o gencheck \
gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` c
ase "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gencheck > tmp-check.h
/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/move-if-change tmp-check.h tree-check.h
touch s-check
gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/confi
g -c /usr/local/pkg/egcs/egcs-1.1.1/src/gcc/c-parse.c
c-parse.y: In function `yyparse':
c-parse.y:279: invalid type argument of `->'
c-parse.y:280: invalid type argument of `->'
[...]
I just issued a 'gmake clean' and 'gmake bootstrap' within the
obj/gcc directory and it seems to have gotten beyond where it
previously failed:
cc -32 -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc
/config /usr/local/pkg/egcs/egcs-1.1.1/src/gcc/gencheck.c
cc -32 -DIN_GCC -g -DHAVE_CONFIG_H -o gencheck \
gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` c
ase "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gencheck > tmp-check.h
/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/move-if-change tmp-check.h tree-check.h
touch s-check
cc -32 -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc/co
nfig -c /usr/local/pkg/egcs/egcs-1.1.1/src/gcc/c-parse.c
cc -32 -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc -I/usr/local/pkg/egcs/egcs-1.1.1/src/gcc
/config /usr/local/pkg/egcs/egcs-1.1.1/src/gcc/c-lang.c
[...]
The original was a complete 'gmake bootstrap' from 'obj' vs. 'obj/gcc'.
I really can't see any difference in the two other than it's
now using SGI's cc (MIPSpro Compilers: Version 7.2.1.2m)
vs. gcc 2.8.1, could that be it?
_____________
Kurt Carlson University of Alaska, ARSC mailto:kcarlson@arsc.edu
(907)474-5763 910 Yukon Drive, Suite 108 http://www.arsc.edu
Fax: 474-5494 Fairbanks, AK 99775-6020 USA