10.11.2. Object Libraries and Run-Time Support

The Built-In Functions section describes additional run-time-support functions that are included in rts.src. If your program uses any of these functions, you must link the appropriate run-time-support library with your object files. See also

You can also create your own object libraries and link them. The linker includes and links only those library members that resolve undefined references.

If you want to link object files created with the TI CodeGen tools with object files generated by other compiler tool chains, the Arm standard specifies that you should define the _AEABI_PORTABILITY_LEVEL preprocessor symbol as follows before #including any standard header files, such as <stdlib.h>.

#define _AEABI_PORTABILITY_LEVEL 1

This definition enables full portability. Defining the symbol to 0 specifies that the “C standard” portability level should be used.