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

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

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

Runtime environment● Position-independent code.For the <strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>, this means there is a prebuilt runtime library foreach combination of these options. The following table shows the mapping of the libraryfile, code models, and processor variants:Library object file Processor core Data model Size of double PICcl430f.r43 430 N/A 32 Nocl430fp.r43 430 N/A 32 Yescl430d.r43 430 N/A 64 Nocl430dp.r43 430 N/A 64 Yescl430xsf.r43 430X Small 32 Nocl430xsd.r43 430X Small 64 Nocl430xmf.r43 430X Medium 32 Nocl430xmd.r43 430X Medium 64 Nocl430xlf.r43 430X Large 32 Nocl430xld.r43 430X Large 64 NoTable 22: Runtime librariesThe runtime library names are constructed in the following way:.r43where●●●● cl for the <strong>IAR</strong> CLIB Library is 430 or 430x is one of s, m, or l, for Small, Medium, and Large data model,respectively is either f for 32 bits or d for 64 bits● is either p for position-independent code or empty for no support forposition-independent code.The <strong>IAR</strong> Embedded Workbench IDE includes the correct runtime library based on theoptions you select. See the <strong>MSP430</strong> <strong>IAR</strong> Embedded Workbench® IDE User Guide foradditional information.Specify which runtime library object file to use on the XLINK command line, forinstance:cl430d.r4376<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!