preprocessor/7357: -M option omits system headers files (making it the same as -MM)

neil@gcc.gnu.org neil@gcc.gnu.org
Fri Jul 19 13:52:00 GMT 2002


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



More information about the Gcc-prs mailing list