SLAU132V October 2004 – February 2020
You must link all C/C++ programs with a bootstrap routine, which will initialize the C/C++ environment and begin the program. The bootstrap routine is responsible for the following tasks:
NOTE
The _c_int00 Symbol
If you use the --ram_model or --rom_model link option, _c_int00 is automatically defined as the entry point for the program. If your command line does not list any C/C++ files to compile and does not specify either the --ram_model or --rom_model link option, the linker does not know whether or not to use the C/C++ conventions, and you will receive a linker warning that says "warning: no suitable entry-point found; setting to 0". See Section 4.3.7 for details about using the --rom_model and --ram_model options.