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

Andrew Pickin PickinA@logica.com
Mon Jul 22 06:24:00 GMT 2002


I think you have to try this on a Solaris.

I'm prepard to believe that it is a Solaris installation problem, 
rather than a pre-processor problem. But I have installed 
Gcc 3.1.0 on 3 different machines and they all have the same problem.

Dependancies on Solaris are significantly different on Solaris anyway.

AMP 




On Fri, 2002-07-19 at 21:52, neil@gcc.gnu.org wrote:
> 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
> 
> This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.
-- 
As he had feared, his orders had been forgotten and everyone had brought
the potato salad.


This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.



More information about the Gcc-bugs mailing list