This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: what is the equivalent of -xM1(solaris compiler option) in gcc
- From: nagarjun <nagarjunreddy dot iit at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Mar 2013 04:06:38 -0700 (PDT)
- Subject: Re: what is the equivalent of -xM1(solaris compiler option) in gcc
- References: <1364465839067-925198 dot post at n5 dot nabble dot com> <CAH6eHdQTwFaGUp-72aAiw2APq+vbF2=FCW23_7dKarrYdXFezw at mail dot gmail dot com>
Got the following from solaris help doc:
Generates makefile dependencies like -xM, but excludes /usr/include files.
For example:
more hello.c
#include<stdio.h>
main()
{
(void)printf(âhello\nâ);
}
ccâ xM hello.c
hello.o: hello.c
hello.o: /usr/include/stdio.h
Compiling with -xM1 does not report header file dependencies:
ccâ xM1 hello.c
hello.o: hello.c
--
View this message in context: http://gcc.1065356.n5.nabble.com/what-is-the-equivalent-of-xM1-solaris-compiler-option-in-gcc-tp925198p925214.html
Sent from the gcc - Help mailing list archive at Nabble.com.