public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* gcc parameter for kernel compile
@ 2009-05-11  1:52 Lance Tagliapietra
  2009-05-11  3:24 ` Brad Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Lance Tagliapietra @ 2009-05-11  1:52 UTC (permalink / raw)
  To: linux-m68k

Hello,

When compiling my m68k linux kernel, gcc is being started with the following first parameters, for example:

gcc -Wp,-MD,sound/oss/dmasound/.dmasound_core.mod.o.d

and all the other objects follow the same pattern.

I am not able to locate -Wp,-MD... in the gcc documentation, any suggestions?

Thanks,

--Lance




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc parameter for kernel compile
  2009-05-11  1:52 gcc parameter for kernel compile Lance Tagliapietra
@ 2009-05-11  3:24 ` Brad Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Brad Boyer @ 2009-05-11  3:24 UTC (permalink / raw)
  To: linux-m68k

On Sun, May 10, 2009 at 08:52:12PM -0500, Lance Tagliapietra wrote:
> When compiling my m68k linux kernel, gcc is being started with the
> following first parameters, for example:
> 
> gcc -Wp,-MD,sound/oss/dmasound/.dmasound_core.mod.o.d
> 
> and all the other objects follow the same pattern.
> 
> I am not able to locate -Wp,-MD... in the gcc documentation, any suggestions?

You need to look around at multiple places in the documentation for that
combination. The first part (-Wp) is described here (near the top):

http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Preprocessor-Options.html#Preprocessor-Options

Basically, anything that is -Wp,<something> means that the "<something>"
is passed exactly as is to cpp. The -MD option to the preprocessor is
described in a later section on the same page.

The summary is that this command line is generating a dependency tree
for the file and saving it on disk for use by make.

	Brad Boyer
	flar@allandria.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-11  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11  1:52 gcc parameter for kernel compile Lance Tagliapietra
2009-05-11  3:24 ` Brad Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox