base Link Option (OS/2, Windows)

Syntax: Default:
link(base, address) link(base, 0x10000)
link(base, 0x00400000)

On OS/2, this option indicates the preferred loading address for the executable file or DLL being built. The address is rounded up to the next multiple of the value specified by link(alignAddr, number). You may specify a base address for an executable file, but if the address is not 0x10000, a warning is issued and the executable is loaded at 0x10000.

This option sets the default base address for an executable file or DLL built on Windows. The lowest memory address that you can specify for an executable file is 0x10000. The loader places the memory image at the specified location in the address space, if it can. If the address is not available, the loader relocates the image. To prevent relocation by the loader, specify the link(fixed) option.



Incremental C++ Builds
C Compilation
Configuration Files


Set Build Options
Build


Link Options