Difference between revisions of "Find the available preprocessor macros"

From Openembedded.org
Jump to: navigation, search
(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 ...)
 
(No difference)

Latest revision as of 14:04, 16 May 2009

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