gcc option -E
Lin George
george4academic@yahoo.com
Fri Oct 12 07:42:00 GMT 2007
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
More information about the Gcc-help
mailing list