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.

The DLIB runtimeenvironmentThis chapter describes the runtime environment in which an applicationexecutes. In particular, the chapter covers the DLIB runtime library and howyou can modify it—setting options, overriding default library modules, orbuilding your own library—to optimize it for your application.The chapter also covers system initialization and termination; how anapplication can control what happens before the function main is called, andhow you can customize the initialization.The chapter then describes how to configure functionality like locale and fileI/O, how to get C-SPY® runtime support, and how to prevent incompatiblemodules from being linked together.For information about the CLIB runtime environment, see the chapter TheCLIB runtime environment.Introduction to the runtime environmentThe runtime environment is the environment in which your application executes. Theruntime environment depends on the target hardware, the software environment, and theapplication code. The <strong>IAR</strong> DLIB runtime environment can be used as is together withthe <strong>IAR</strong> C-SPY Debugger. However, to be able to run the application on hardware, youmust adapt the runtime environment.This section gives an overview of:●●The runtime environment and its componentsLibrary selection.RUNTIME ENVIRONMENT FUNCTIONALITYThe runtime environment supports ISO/ANSI C and <strong>C++</strong> including the standardtemplate library. The runtime environment consists of the runtime library, whichcontains the functions defined by these standards, and include files that define the libraryinterface.Part 1. Using the compiler 45

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

Saved successfully!

Ooh no, something went wrong!