public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/7357: -M option omits system headers files (making it the same as -MM)
@ 2002-07-19 13:52 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2002-07-19 13:52 UTC (permalink / raw)
  To: PickinA, gcc-bugs, gcc-prs, nobody

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* preprocessor/7357: -M option omits system headers files (making it the same as -MM)
@ 2002-07-19  3:26 PickinA
  0 siblings, 0 replies; 2+ messages in thread
From: PickinA @ 2002-07-19  3:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7357
>Category:       preprocessor
>Synopsis:       -M option omits system headers files (making it the same as -MM)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 03:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pickin
>Release:        3.1.0
>Organization:
>Environment:
Solaris 8
>Description:
There is no distinction between -M & -MM option from 
version 3.1.0

This means the the system headers are omitted from dependencies.
>How-To-Repeat:
gcc -M helloworld.c
compare with 
gcc -MM helloworld.c
should not stdio be listed somewhere?
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-19 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-19 13:52 preprocessor/7357: -M option omits system headers files (making it the same as -MM) neil
  -- strict thread matches above, loose matches on Subject: below --
2002-07-19  3:26 PickinA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).