This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/7357: -M option omits system headers files (making it the same as -MM)
- From: neil at gcc dot gnu dot org
- To: PickinA at logica dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 19 Jul 2002 20:52:34 -0000
- Subject: Re: preprocessor/7357: -M option omits system headers files (making it the same as -MM)
- Reply-to: neil at gcc dot gnu dot org, PickinA at logica dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: -M option omits system headers files (making it the same as -MM)
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Fri Jul 19 13:52:33 2002
State-Changed-Why:
Not true:
monkey:neil{12}$ /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/cpp0 -MM /tmp/foo.c
foo.o: /tmp/foo.c
monkey:neil{13}$ /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/cpp0 -M /tmp/foo.c
foo.o: /tmp/foo.c \
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/include/stdio.h \
/usr/include/features.h /usr/include/sys/cdefs.h \
/usr/include/gnu/stubs.h \
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/include/stddef.h \
/usr/include/bits/types.h /usr/include/bits/pthreadtypes.h \
/usr/include/bits/sched.h /usr/include/libio.h /usr/include/_G_config.h \
/usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/include/stdarg.h \
/usr/include/bits/stdio_lim.h
If it's not working for you, then I suspect it is a configuration or installation problem where GCC does not have the right idea of your system directories.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7357