entry Link Option

Syntax: Default:
link(entry[, yes])
link(entry, no)
link(entry, string)
link(entry[, yes])
none

This option sets the entry point, or starting address, of the executable output file, as shown in the following table:

link(entry, string) Sets the executable's entry point to the address of the symbol in string.  The symbol must be the name of a function.
link(entry[, yes]) Sets the executable's entry point to "__start" (double underscore start).
link(entry, no) Indicates that the executable output file has no entry point.

Specifying link(entry, yes) will prevent C++ initialization, correct multi-thread startup, and profiling.

The default is link(entry, yes).

No default entry point is set.

You can also specify the starting address in C++ code with #pragma entry.  The pragma overrides this configuration file option.



Incremental C++ Build
C Compilation
Configuration Files


Set Build Options
Build


Link Options
Link Options