12.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12. Tool OptionsThis chapter provides a detailed description of the options <strong>for</strong> the compiler, assembler, linker, controlprogram, make utility and the archiver.Tool options in Eclipse (Menu entry)For each tool option that you can set from within Eclipse, a Menu entry description is available. In Eclipseyou can customize the tools and tool options in the following dialog:1. From the Project menu, select PropertiesThe Properties dialog appears.2. In the left pane, expand C/C++ Build and select Settings.In the right pane the Settings appear.3. Open the Tool Settings tab.You can set all tool options here.Unless stated otherwise, all Menu entry descriptions expect that you have this Tool Settings tabopen.12.1. C Compiler OptionsThis section lists all C compiler options.Options in Eclipse versus options on the command lineMost command line options have an equivalent option in Eclipse but some options are only available onthe command line. Eclipse invokes the compiler via the control program. There<strong>for</strong>e, it uses the syntax ofthe control program to pass options and files to the C compiler. If there is no equivalent option in Eclipse,you can specify a command line option in Eclipse as follows:1. From the Project menu, select PropertiesThe Properties dialog appears.2. In the left pane, expand C/C++ Build and select Settings.In the right pane the Settings appear.3. On the Tool Settings tab, select C/C++ Compiler » Miscellaneous.4. In the Additional options field, enter one or more command line options.Because Eclipse uses the control program, you have to precede the option with -Wc to pass theoption via the control program directly to the C compiler.273

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!