Messages in this thread Patch in this message | | | Subject | allowing -save-temps when building the kernel | Date | Sat, 20 Dec 1997 09:18:20 PST | From | "Marty Leisner" <> |
| |
I find -save-temps useful to help debug problems with the preprocessor.
I don't see a good way to add this to a linux build...
Also, it conflicts with -pipe (pipe takes precedence).
This is wrt 2.0.33:
: leisner@dw;rcsdiff -u arch/i386/boot/Makefile rcsdiff: arch/i386/boot/RCS/Makefile,v: No such file or directory : leisner@dw;rcsdiff -u arch/i386/Makefile =================================================================== RCS file: arch/i386/Makefile,v retrieving revision 1.1 diff -u -r1.1 arch/i386/Makefile --- arch/i386/Makefile 1997/12/20 17:06:43 1.1 +++ arch/i386/Makefile 1997/12/20 17:07:02 @@ -59,7 +59,8 @@ LINKFLAGS =-qmagic -Ttext 0xfffe0 endif -CFLAGS := $(CFLAGS) -pipe +PIPE := -pipe +CFLAGS := $(CFLAGS) $(PIPE) ifdef CONFIG_M386 CFLAGS := $(CFLAGS) -m386 -DCPU=386
Doing make PIPE=-save-temps
did exactly what I wanted.
marty leisner@sdsp.mc.xerox.com Don't confuse education with schooling. Milton Friedman to Yogi Berra
| |