public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Brad Boyer <flar@allandria.com>
To: linux-m68k@vger.kernel.org
Subject: Re: gcc parameter for kernel compile
Date: Sun, 10 May 2009 20:24:02 -0700	[thread overview]
Message-ID: <20090511032402.GA20493@cynthia.pants.nu> (raw)
In-Reply-To: <20090511015210.GA15777@luminet.net>

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


      reply	other threads:[~2009-05-11  3:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11  1:52 gcc parameter for kernel compile Lance Tagliapietra
2009-05-11  3:24 ` Brad Boyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090511032402.GA20493@cynthia.pants.nu \
    --to=flar@allandria.com \
    --cc=linux-m68k@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox