This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc option -E
- From: Lin George <george4academic at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 12 Oct 2007 00:42:39 -0700 (PDT)
- Subject: gcc option -E
Hello everyone,
I am learning some other's code -- build files. Here are two samples which I am confused.
gcc -E -o ListDef -dM -P YourSrcCode.c
gcc -E -o ListDef -dD -P YourSrcCode.c
I have tried that in ListDef file (new generated after either of the two commands) and it contains several hundred lines of #define, typedef and some other definitions. Could anyone help to answer what is the function of the two commands? Differences between -dM and -dD?
thanks in advance,
George
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC