The TMS320C6000 Optimizing C/C++ Compiler User's Guide explains how to use the following Texas Instruments Code Generation compiler tools:
The TI compiler accepts C and C++ code conforming to the International Organization for Standardization (ISO) standards for these languages. The compiler supports the 1989, 1999, and 2011 versions of the C language and the 2014 version of the C++ language.
This user's guide discusses the characteristics of the TI C/C++ compiler. It assumes that you already know how to write C/C++ programs. The C Programming Language (second edition), by Brian W. Kernighan and Dennis M. Ritchie, describes C based on the ISO C standard. You can use the Kernighan and Ritchie (hereafter referred to as K&R) book as a supplement to this manual. References to K&R C (as opposed to ISO C) in this manual refer to the C language as defined in the first edition of Kernighan and Ritchie's The C Programming Language.
This document uses the following conventions:
special typeface
. Interactive
displays use a bold version of the special typeface to distinguish commands that you enter
from items that the system displays (such as prompts, command output, error messages,
etc.). Here is a sample of C code:
#include <stdio.h>
main()
{ printf("Hello World\n");
}
cl6x [options] [filenames] [--run_linker [link_options] [object files]] |
cl6x --run_linker {--rom_model | --ram_model} filenames [--output_file= name.out] | |
--library= libraryname |
symbol .usect "section name", size in bytes[, alignment] |