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
jos...@codesourcery.com

Reply via email to