This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc -Wp,-MD no longer working in svn build
- From: Anton Blanchard <anton at samba dot org>
- To: joseph at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Aug 2010 18:11:12 +1000
- Subject: 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