Link Options (OS/2, Windows)

The options listed in the following table control the link stage of builds on OS/2 and Windows NT platforms.

Option Applies Only to Default
link(alignAddr, number)
link(alignAddr, numberK)
link(alignAddr, numberM)
  link(alignAddr, 0x10000)
link(alignFile, number)
link(alignFile, numberK)
  link(alignFile, 16)
link(alignFile, 512)
link(ansiExtensionsLibrary [, yes])
link(ansiExtensionsLibrary, no)
  link(ansiExtensionsLibrary[, yes])
link(base, address)   link(base, 65536)
link(base, 0x00400000)
link(code, attributes)   link(code,"RX")
link(data, attributes)   link(data,"RW")
link(debug[, yes])
link(debug, no)
  link(debug, no)
link(defaultLibs[, yes])
link(defaultLibs, no)
  link(defaultLibs[, yes])
link(defaultLibsName, name)   none
link(dllInitInstance[, yes])
link(dllInitInstance, no)
link(dllInitInstance, no)
link(dllTermInstance[, yes])
link(dllTermInstance, no)
link(dllTermInstance, no)
link(entry, symbol )   none
link(exePack[, yes])
link(exePack, 1)
link(exePack, 2)
link(exePack, no)
link(exePack, 2)
link(export, external_name, ...)   none
link(exportAll[, yes])
link(exportAll, no)
link(exportAll, no)
link(export_NameSpace, string) link(export_NameSpace, null)
link(export_Prefix, string) link(export_Prefix, null)
link(exportList, fileName)   none
link(extDictionary[, yes])
link(extDictionary, no)
  link(extDictionary[, yes])
link(fixed[, yes])
link(fixed, no)
  depends on type of target
link(force[, yes])
link(force, no)
  link(force, no)
link(generatedFilesDirectory, pathName)   link(generatedFilesDirectory, current target directory)
link(heap, reserve[, commit]) link(heap, 0x100000, 0x1000)
link(ignoreCase[, yes])
link(ignoreCase, no)
  link(ignoreCase, no)
link(import, [internal_name], DLL_name, export_name)
link(import, [internal_name], DLL_name, ordinal)
  none
link(include, symbol)   none
link(libSearchPath, path)   link(libSearchPath, "")
link(lineNum[, yes])
link(lineNum, no)
link(lineNum, no)
link(linkWithMultiThreadLib[, yes])
link(linkWithMultiThreadLib, no)
  link(linkWithMultiThreadLib, no)
link(linkWithSharedLib[, yes])
link(linkWithSharedLib, no)
  link(linkWithSharedLib, no)
link(map[, yes])
link(map, fileName)
link(map, no)
  link(map, no)
link(nameMangling, ansi, characters)
link(nameMangling, compat, characters)
link(nameMangling, ansi, 64000)
link(noDefaultLibsName, name)   none
link(optFunc[, yes])
link(optFunc, no)
  link(optFunc, yes)
link(padding[, yes])
link(padding, no)
  link(padding[, yes])
link(pmType, type)   link(pmType, VIO)
link(section, name, attributes)   set by link(data, attributes )
or link(code, attributes )
link(stack, reserve)
link(stack, reserve, commit)
  link(stack, 0), or the total size of existing stack sections
link(stack, 0x100000, 0x1000)
link(standAlone[, yes])
link(standAlone, no)
  link(standAlone, no)
link(stub[, fileName])
link(stub, no)
depends on type of target
link(subsystem, name[, major[, minor]]) link(subsystem, CONSOLE, 4, 0)
link(version, major[, minor])   link(version, 0, 0)
link(versionString, string)   none
link(winmain[, yes])
link(winmain, no)
link(winmain[, yes])

You can set these options with the IDE or by using the option directive in your configuration file.



Incremental C++ Builds
C Compilation
Configuration Files


Set Build Options
Build


Build Options