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.

Descriptions of options--output, -oSyntaxParametersDescription--output {filename|directory}-o {filename|directory}For information about specifying a filename or a directory, see Rules for specifying afilename or directory as parameters, page 140.By default, the object code output produced by the compiler is located in a file with thesame name as the source file, but with the extension r43. Use this option to explicitlyspecify a different output filename for the object code output.This option is not available in the <strong>IAR</strong> Embedded Workbench IDE.--picSyntaxDescription--picUse this option to make the compiler produce position-independent code, which meansthat functions can be relocated at runtime. This option is not available when compilingfor the <strong>MSP430</strong>X architecture.Project>Options>General Options>Target>Position-independent code--preincludeSyntaxParametersDescription--preinclude includefileFor information about specifying a filename, see Rules for specifying a filename ordirectory as parameters, page 140.Use this option to make the compiler include the specified include file before it starts toread the source file. This is useful if you want to change something in the source codefor the entire application, for instance if you want to define a new symbol.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Preprocessor>Preinclude file162<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!