Possible Duplicate:
gcc preprocessor
Is there a gcc option to make the gcc preprocessor generate C source code but filter out irrelevant source code? For example, a C file has #define switch
to define for many different platforms. I'm only intersted in one platform, so I want the C preprocessor to filter out unrelated code. Does GCC support this?