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.

Tool Optionsccarm --define=DEMO test.cccarm --define=DEMO=1 test.cNote that both invocations have the same effect.The next example shows how to define a macro with arguments. Note that the macro name and definitionare placed between double quotes because otherwise the spaces would indicate a new option.ccarm --define="MAX(A,B)=((A) > (B) ? (A) : (B))" test.cRelated in<strong>for</strong>mationControl program option --undefine (Remove preprocessor macro)Control program option --option-file (Specify an option file)597

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

Saved successfully!

Ooh no, something went wrong!