7.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 libpic30-omf.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 Runtime Startup and Initialization