[klibc] build klibc with gcc 2.96 fails

Sam Ravnborg sam at ravnborg.org
Wed Jan 19 15:51:11 PST 2005

On Wed, Jan 19, 2005 at 12:32:39PM -0800, H. Peter Anvin wrote:
> Greg KH wrote:
> >I get the following error:
> >
> >make[1]: Entering directory `/home/greg/src/klibc/klibc-0.196/klibc'
> >gcc -Wp,-MT,__static_init.o,-MD,./.__static_init.o.d  -march=i386 -Os -g 
> >-malign-functions=0 -malign-jumps=0 -malign-loops=0  -nostdinc 
> >-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I.. /include/arch/i386 
> >-I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I 
> >../linux/include -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings 
> >-Wstrict-prototypes -Winline -c -o __static_init.o __static_init.c
> >Usage: cpp [switches] input output
> Looks like gcc 2.96 doesn't support -MT, which is used for the 
> dependency generation.
Kernel use -MD - maybe you could change klibc to use that?


More information about the klibc mailing list