Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!

Find the available preprocessor macros

From Openembedded.org
Revision as of 14:04, 16 May 2009 by Laibsch (Talk | contribs)

(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
Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox