[klibc] build klibc with gcc 2.96 fails

H. Peter Anvin hpa at zytor.com
Wed Jan 19 17:04:27 PST 2005


Sam Ravnborg wrote:
>>
>>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?
> 

Ah yes, without the -MT option, gcc generates rules like this:

link.o: syscalls/link.S ../linux/include/asm/unistd.h

... when the correct rule looks like:

syscalls/link.o: syscalls/link.S ../linux/include/asm/unistd.h

I guess there is always sed...

	-hpa



More information about the klibc mailing list