Home > Coding > Seeing all predefined gcc macros

Seeing all predefined gcc macros

June 12th, 2009

I just found a really cool trick to get a list of all predefined gcc macros:

echo | gcc -dM -E -

Found it here: http://www.willus.com/mingw/_predefined.shtml

chris Coding

  1. No comments yet.
  1. No trackbacks yet.