Re: what is the equivalent of -xM1(solaris compiler option) in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux