Link Options from Earlier Versions of VisualAge C++ (OS/2, Windows)

VisualAge C++ includes an incremental linker that replaces the traditional linker supplied in earlier versions of the product. Much of the same link functionality is provided, but you specify options in the configuration file for your project rather than as command line options for the linker.

The table below gives the configuration file option equivalent to link options from earlier versions of VisualAge C++ and predecessor products. In an incremental build, not all the old options are meaningful, some are automatic, and the functionality of others is provided in a different way. An entry of N/A in the table indicates that an equivalent new linker option is not available.

In the option syntax, the characters [ and ] enclose optional items, and the character | indicates alternatives. For example, /E[:1|:2] is equivalent to /E:1, /E:2, or /E.

Old Syntax Description Configuration File Option
/? Display help N/A
/ALIGNA[DDR]:number Set address alignment for segments link(alignAddr, number)
/A[LIGNFILE]:number Set file alignment for segments link(alignFile, number)
/A[LIGNMENT]:factor Set alignment factor link(alignFile, number)
/BAS[E]: <address|@filename, key> Set preferred loading address link(base, address)
/BR[OWSE]
/NOBR[OWSE]
Add browse information N/A
/CODE: attributes Set section attributes for code link(code, attributes)
/C[ODEVIEW]
/NOC[ODEVIEW]
Include traditional debug information link(debug,[ yes])
link (debug, no)
/DATA: attributes Set section attributes for data link(data, attributes)
/DB[GPACK]
/NODB[GPACK]
Pack debug information N/A
/D[EBUG]
/NODEB[UG]
Support traditional debugger link(debug,[ yes])
link (debug, no)
/DEF[AULTLIBRARYSEARCH][:library] /NOD[EFAULTLIBRARYSEARCH][:lib] Search default libraries link(defaultLibs[, yes])
link(defaultLibs, no)
link(defaultLibsName, library)
link(noDefaultLibsName, library)
/DLL Generate DLL target fileName.dll
target [dll] fileName
/EN[TRY]:symbol Specify an entry point in an executable file link(entry, symbol)
/EXEC[UTABLE] Generate .exe file target fileName.exe
target [exe] fileName
/E[XEPACK][:1|:2] Compress exectuable link(exePack[, yes])
link(exePack, 1)
link(exePack, 2)
link(exePack, no)
/EXT[DICTIONARY] /NOE[XTDICTIONARY] Use extended dictionary to search libraries link(extDictionary[, yes])
link(extDictionary, no)
/FI[xed]
/NOFI[xed]
Do not relocate the file in memory link(fixed[, yes])
link(fixed, no)
/FO[RCE]
/NOFO[RCE]
Create target even if errors are detected link(force[, yes])
link(force, no)
/HEA[P]: reserve [,commit] Set size of program heap link(heap, number [, number])
/H[ELP] Display help N/A
/IG[NORECASE]
/NOI[GNORECASE]
Set case sensitivity link(ignoreCase[, yes])
link(ignoreCase, no)
/INC[lude] Force a reference to a symbol link(include, symbol)
/I[NFORMATION] /NOIN[FORMATION] Display status of linking process N/A
/L[INENUMBERS] /NOLI[NENUMBERS] Include line numbers in map file link(lineNum[, yes])
link(lineNum, no)
/LO[GO]
/NOL[OGO]
Display logo and echo response file N/A
/M[AP][:name]
/NOM[AP]
Generate map file link(map[, yes])
link(map, fileName)
link(map, no)
/OLD[CPP]
/NOLD[CPP]
Support templates from previous versions N/A
/OPTF[UNC]
/NOOPTF[UNC]
Remove unreferenced functions link(optFunc[, yes])
link(optFunc, no)
/O[UT][:name] Name output file target [type] fileName
/PACKC[ODE][:number]
/NOP[ACKCODE]
Pack code segments N/A
/PACKD[ATA][:number]
/NOPACKD[ATA]
Pack data segments N/A
/PDD Generate a .pdd file target fileName.pdd
target [pdd] fileName
/PM[TYPE]:type Specify OS/2 application type link(pmType, type)
/SEC[TION]:name, attributes Set attributes for section link(section, name, attributes)
/SE[GMENTS]:number Set maximum number of segments N/A
/ST[ACK]:reserve [,commit] Set stack size of application link(stack, reserve [, commit])
/STU[B]:filename Specify the name of the DOS stub file link(stub, string)
link(stub, no)
/SU[BSYSTEM]:subsystem [,major[.minor]] Specify the required subsystem and version link(subsystem, string[, number[, number]])
/VERB[OSE]
/NOV[ERBOSE]
Display status of linking process N/A
/VDD Generate a .vdd file target fileName.vdd
target [vdd] fileName
/VER[SION]:major [.minor]] Write a version number in the run file link(version, number[, number])


Incremental C++ Build
C Compilation
Configuration Files


Set Build Options
Build


Compile Options from Earlier Versions of Visual Age for C++
Build Option