1.1. About the CompilerΒΆ
The TI C29x Clang Compiler (c29clang) lets you compile, optimize, and link an application in one step. The compiler performs the following steps on one or more source modules:
The c29clang compiler compiles one or more of the following types of input files:
C source files (with .c file extension)
C++ source files (with .C and/or .cpp file extensions)
Note
The -x option can be used on the c29clang command line to instruct the compiler how to interpret input files if the default file extension interpretation is not appropriate for your application. For more information about the -x option, see Using -x Option to Control Input File Interpretation.
Internally, the c29clang compiler generates assembly code and assembles the assembly files to create object modules. But, you do not need to be concerned with assembly code when using the C29x code generation tools.
By default, the c29clang compiler then invokes the linker to create a static executable file from the object modules that were generated in the compile/assemble step. (The linker is also available using the c29lnk command line.)
Note
The link step can be disabled using the -c option on the c29clang command line. See Stop Compiler After Object File Output (Omit Linking)