Find the available preprocessor macros

From Openembedded.org
Revision as of 14:04, 16 May 2009 by Laibsch (talk | contribs) (New page: '''Q: A build fails and I need to know which preprocessor macros are available.''' First create an empty file and the run your gcc like this: touch tmp.c gcc <your gcc options> -E -dM ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Q: A build fails and I need to know which preprocessor macros are available.

First create an empty file and the run your gcc like this:

touch tmp.c
gcc <your gcc options> -E -dM tmp.c | less