6.3.2 Startup and Initialization

Two kinds of startup modules are available to initialize the C runtime environment:

  • The primary startup module which is linked by default (or the -Wl, --data-init option).
  • The alternate startup module which is linked when the -Wl, --no-data-init option is specified (no data initialization).

These modules are included in the libc99-pic30-elf.a archive/library. Multiple versions of these modules exist in order to support architectural differences between device families. The compiler automatically uses the correct module.

For more information on the startup modules, see 16.2 Runtime Startup and Initialization.