GCC 2.7.2.1 compiling Linux 2.0.23

David L. Oppenheimer (davido@cs.princeton.edu)
Fri, 25 Oct 1996 10:56:29 -0400


When I use gcc 2.7.2.1 running on a 2.0.23 kernel to compile Linux 2.0.23,
when I do 'make dep' I get

gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
/tmp/cca01246.i:1: numeric constant with no digits
/tmp/cca01246.i:1: numeric constant with no digits
/tmp/cca01246.i:1: invalid #line
/tmp/cca01246.i:2: numeric constant with no digits
/tmp/cca01246.i:2: numeric constant with no digits
/tmp/cca01246.i:2: invalid #line
/tmp/cca01246.i:33: numeric constant with no digits
/tmp/cca01246.i:33: numeric constant with no digits
/tmp/cca01246.i:33: invalid #line
/tmp/cca01246.i:167: numeric constant with no digits
/tmp/cca01246.i:167: numeric constant with no digits
[...]

When I use gcc 2.7.0 (which I've been told _not_ to use to compile the 2.0 kernels) running on a 2.0.23 kernel to compile 2.0.23, everything works just fine and the kernel runs a-ok.

I checked to make sure I am using the 2.7.2.1 version of cpp with the 2.7.2.1 version of the compiler, which I am, etc. etc.

What am I doing wrong?

If you have a comment please respond by email as well as to the list, since I do not read the list frequently enough.

Thanks,

David Oppenheimer
davido@CS.Princeton.EDU