r1 - 19 Sep 2008 - 00:03:13 - Main.jisooyYou are here: TWiki >  Main Web > RtclMembers > JisooYang > JisooTechTips > JisooTechTipsCompiler

Compiler and linker tricks

Find out gcc predefined macros in your environment

For C,

$ echo "" | gcc -E -dM -x c -
For C++,
$ echo "" | g++ -E -dM -x c++ -

-- Main.jisooy - 18 Sep 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions

tip TWiki Tip of the Day
Comment box with CommentPlugin
The CommentPlugin allows users to quickly post comments to a page without an edit/preview/save cycle ... Read on Read more

 
Home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback