11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

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

Create successful ePaper yourself

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

Options syntaxFor options with a long name and an optional parameter, any parameter should bespecified with a preceding equal sign (=), for example:--misrac=nRules for mandatory parametersFor options with a short name and a mandatory parameter, the parameter can bespecified either with or without a preceding space, for example:-I..\src or -I ..\src\For options with a long name and a mandatory parameter, the parameter can be specifiedeither with a preceding equal sign (=) or with a preceding space, for example:--diagnostics_tables=filenameor--diagnostics_tables filenameRules for options with both optional and mandatory parametersFor options taking both optional and mandatory parameters, the rules for specifying theparameters are:●For short options, optional parameters are specified without a preceding space● For long options, optional parameters are specified with a preceding equal sign (=)● For short and long options, mandatory parameters are specified with a precedingspace.For example, a short option with an optional parameter followed by a mandatoryparameter:-lA filenameFor example, a long option with an optional parameter followed by a mandatoryparameter:--preprocess=n filenameRules for specifying a filename or directory as parametersThe following rules apply for options taking a filename or directory as parameters:●Options that take a filename as a parameter can optionally also take a path. The pathcan be relative or absolute. For example, to generate a listing to the file list.lstin the directory ..\listings\:icc430 prog -l ..\listings\list.lst140<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

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

Saved successfully!

Ooh no, something went wrong!