SPRU513Y August 2001 – June 2022 SM320F28335-EP
The C/C++ compiler produces assembly language source code that can be assembled and linked. For example, a C program consisting of modules prog1, prog2, etc., can be assembled and then linked to produce an executable file called prog.out:
cl2000 --run_linker --rom_model --output_file prog.out prog1.c.obj prog2.c.obj ... rts2800_ml.lib
The --rom_model option tells the linker to use special conventions that are defined by the C/C++ environment.
The archive libraries shipped by TI contain C/C++ run-time-support functions.
C, C++, and mixed C and C++ programs can use the same run-time-support library. Run-time-support functions and variables that can be called and referenced from both C and C++ will have the same linkage.
For more information about the TMS320C28x C/C++ language, including the run-time environment and run-time-support functions, see the TMS320C28x Optimizing C/C++ Compiler User's Guide.