* FW: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
@ 2011-10-17 19:15 Liu Wang
2011-10-17 20:12 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Liu Wang @ 2011-10-17 19:15 UTC (permalink / raw)
To: gcc
-----Original Message-----
From: Liu Wang
Sent: Saturday, October 15, 2011 5:42 PM
To: 'gcc-help@gcc.gnu.org'
Subject: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
Sir./Madam,
Appreciate your helping me with the following.
How to let Linux kernel Makefile generate intermediate *.i files ?
It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
Sincerely,
Liu Wang
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: FW: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
2011-10-17 19:15 FW: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified." Liu Wang
@ 2011-10-17 20:12 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2011-10-17 20:12 UTC (permalink / raw)
To: Liu Wang; +Cc: gcc
On 10/17/2011 09:27 AM, Liu Wang wrote:
>
>
> -----Original Message-----
> From: Liu Wang
> Sent: Saturday, October 15, 2011 5:42 PM
> To: 'gcc-help@gcc.gnu.org'
> Subject: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
>
> Sir./Madam,
>
> Appreciate your helping me with the following.
>
> How to let Linux kernel Makefile generate intermediate *.i files ?
> It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified."
The Linux kernel Makefile already has support for generating .i files.
"make help" (partial output) says:
(for targets)
dir/file.[oisS] - Build specified target only
I have binary files built in the X64 subdirectory, so I tested like so:
$ make O=X64 ARCH=x86_64 init/calibrate.i
$ ls -l X64/init/*.i
-rw-r--r-- 1 rddunlap users 354232 Oct 17 09:32 X64/init/calibrate.i
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-17 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 19:15 FW: How to let Linux kernel Makefile generate intermediate *.i files ? It doesn't work to add "EXTRA_CFLAGS += -save-temps" in Makefile and gets "cc: warning: -pipe ignored because -wave-temps specified." Liu Wang
2011-10-17 20:12 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).