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


> > 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.

Well, I know of several projects that rely on -Wp,-MD or -Wp,-MMD, so this
change will certainly affect lots of people I suspect.

Can't we be friendlier to these projects and keep backward compatibility?

Arno


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