This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc -Wp,-MD no longer working in svn build
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Anton Blanchard <anton at samba dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Aug 2010 11:00:01 +0000 (UTC)
- Subject: Re: gcc -Wp,-MD no longer working in svn build
- References: <20100813081112.GA29316@kryten>
On Fri, 13 Aug 2010, Anton Blanchard wrote:
> Hi Joseph,
>
> I hit the following problem when trying to build a ppc64 Linux kernel
> from svn today:
>
> # gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
The options passed to internal binaries such as cc1 are not a documented
public interface to GCC, so if you pass such options via -Wp you must
expect to need to change your makefiles when the GCC-internal interfaces
change. Instead, you should use the various public interfaces documented
in cppopts.texi, which *are* stable interfaces. I think what you want
here is "-MD -MF scripts/basic/.fixdep.d" with no -Wp.
--
Joseph S. Myers
joseph@codesourcery.com