Thursday, August 31, 2006

Off-Topic: dumping gcc/cpp predefined macros

echo | gcc -dM -E -

-dM tells cpp to out #define for every variable it has.

-E tells gcc to run cpp only

P.S. I dead tired to dig documentation every time I need to find how platform is identified by GCC. So putting that stuff here in hope that it would be easier locatable.

No comments: