From: hlu@yoda.eecs.wsu.edu (H.J. Lu) Subject: Re: compiling kernel with GCC 2.2.2 Date: 1 Jul 1992 04:14:13 GMT
In article <1992Jul1.032202.21068@athena.mit.edu> Epstein@DOCKMASTER.NCSC.MIL writes:
>I too had to ln -s /usr/lib/gcc-lib/2.2.2/.../stdarg.h and stddef.h
>
That is not necessary. Could you do it as an ordinary user?
gcc -v -E foo.c > /dev/null
=====foo.c==
#include <stddef.h>
void
foo ()
{
}
=======
What is your output?
>I offer as proof of reading FAQ and gcc.man the following erratta in
>FAQ:
>
>In /usr/lib/gcc-lib/i386-linux/2.11c, rename THAT should be 2.1 as gcc
>2.11c named its dir that
>
>Yes, I tried all types of -I/usr/lib/gcc-lib after removing all nostdinc
>--- checked by find /usr/src/linux -name Makefile -exec grep nostdinc {}
>\; -print
>
Very strange.
>I also had to change the config stuff with path ../../../config.h et al
>to config.h et al --- I did a make dep
>
>I have been reading the RTFM since Unix and C had no type long.
>
>BTW: using gcc 2.2.2 without fix1 or fix2 --- I assume load at banjo
>will easy up by this weekend :-)
>
fix1 and fix1 are for those of you who got very early, buggy gcc 2.2.2.
You don't need them if it is your first time to get gcc 2.2.2.
As a last resort, using bash please send me the outout of
type gcc
gcc -v
ls -lR /usr/include
ls -lR /usr/lib/gcc-lib
H.J.