This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc -Wp,-MD no longer working in svn build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]