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

Reply via email to