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]

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


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

cc1: error: unrecognized command line option â-MDâ

Backing this out fixed it:

| jsm28 | 2010-08-13 08:52:49 +1000 (Fri, 13 Aug 2010) | 11 lines

        * gcc.c (cpp_unique_options): Generate -MDX and -MMDX from -MD and
        -MMD.

c-family:
        * c.opt (MD, MMD): Change to MDX and MMDX.
        * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.

fortran:
        * lang.opt (MD, MMD): Change to MDX and MMDX.
        * cpp.c (gfc_cpp_handle_option): Use OPT_MMD and OPT_MMDX.

Anton


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