How do I run the GCC preprocessor to get the code after macros like #define are expanded?

Yes. Use the -E option:

gcc -E foo.c

Leave a Comment