Find the available preprocessor macros: Difference between revisions

From Openembedded.org
Jump to navigation Jump to 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