13.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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>12.6. Control Program OptionsThe control program ccarm facilitates the invocation of the various components of the <strong>ARM</strong> <strong>toolset</strong> froma single command line.Options in Eclipse versus options on the command lineEclipse invokes the compiler, assembler and linker via the control program. There<strong>for</strong>e, it uses the syntaxof the control program to pass options and files to the tools. The control program processes commandline options either by itself, or, when the option is unknown to the control program, it looks whether it canpass the option to one of the other tools. However, <strong>for</strong> directly passing an option to the C++ compiler, Ccompiler, assembler or linker, it is recommended to use the control program options --pass-c++, --pass-c,--pass-assembler, --pass-linker.See the previous sections <strong>for</strong> details on the options of the tools.Short and long option namesOptions can have both short and long names. Short option names always begin with a single minus (-)character, long option names always begin with two minus (--) characters.You can abbreviate long optionnames as long as it <strong>for</strong>ms a unique name. You can mix short and long option names on the commandline.Options can have flags or suboptions. To switch a flag 'on', use a lowercase letter or a +longflag. Toswitch a flag off, use an uppercase letter or a -longflag. Separate longflags with commas. The followingtwo invocations are equivalent:ccarm -Wc-Oac test.cccarm --pass-c=--optimize=+coalesce,+cse test.cWhen you do not specify an option, a default value may become active.586

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

Saved successfully!

Ooh no, something went wrong!