Re: [PATCH] BUG preserve registers

Jamie Lokier
2002-02-11T15:32:13Z

Andrew Morton wrote:
> The preprocessor is simply pasting together its -I argument and the
> string from the #include statement. There doesn't seem to be a way
> of getting it to just emit "include/linux/dcache.h" or "drivers/char/serial.c".

Doesn't that work if you do this?

(cd $(TOPDIR);
gcc -Idrivers/char -I- -Iinclude \
-c -o drivers/char/serial.o drivers/char/serial.c)

-- Jamie