| Syntax | Description |
|---|---|
| /? | Display a list of valid linker options (same as /HELP) |
| /ALIGNA[DDR]:factor | Set address alignment |
| /A[LIGNFILE]:factor | Set file alignment |
/NOBASE |
Set preferred loading address |
| /BR[OWSE] /NOBR[OWSE] |
(Inactive) Add browse information |
| /CODE: attributes | Set section attributes for executable |
| /DATA: attributes | Set section attributes for data |
| /DB[GPACK] /NODB[GPACK] |
Pack debugging information |
| /D[EBUG] /NODEB[UG] |
Include debugging information |
| /DEF[AULTLIBRARYSEARCH][:lib] /NOD[EFAULTLIBRARYSEARCH][:lib] |
Search default libraries |
| /DLL | Generate DLL |
| Specify an entry point in an executable file | |
| /EXEC[UTABLE] | Generate an executable file |
| Reduce the size of the executable file. | |
| /EXT[DICTIONARY] /NOE[XTDICTIONARY] |
Use extended dictionary to search libraries |
| /FI[XED] /NOFI[XED] |
Do not relocate the file in memory |
| /FO[RCE] /NOFO[RCE] |
Create executable output file even if errors are detected |
| /FR[EEFORMAT] |
Allow free placement of command elements on the command line |
| Set size of program heap | |
| /H[ELP] | Display help |
| /IGNORECASE /NOI[GNORECASE] |
Turn off case sensitivity |
| /INC[LUDE] | Forces a reference to a symbol |
| /I[NFORMATION] /NOIN[FORMATION] |
Display status of the linking process |
| /L[INENUMBERS] /NOLI[NENUMBERS] |
Include line numbers in map file |
| /LO[GO] /NOL[OGO] |
Display logo, echo response file |
| /M[AP][:name] /NOM[AP] |
Generate map file |
| /OC[ACHE][:number] | Sets the size of the linker's object module cache |
| /OLDCPP /NOOLDCPP |
Ignore template resolution directives in old object files |
| /OPTF[UNC] /NOOPTF[UNC] |
Remove unreferenced functions |
| /OPTVFUNC | Remove unreferenced virtual functions (inactive) |
| /O[UT][:name] | Name output file |
| Group code segments to roduce more compact code | |
| Group data segments to produce more compact code | |
| Produce a physical device driver | |
| /PM[TYPE]:type | Specify application type |
| Create an OS/2 session. | |
| /SEC[TION]:name,attributes | Set attributes for section |
| /SE[GMENTS]:number | Set maximum number of segments |
| /SEGORDER /NOSEGORDER |
Change the sort order for assigning segments |
| Set stack size of application | |
| /STU[B]:filename |
Specify the name of the DOS stub file |
| Specify the required subsystem and version | |
| Produce a virtual device driver | |
| /VERB[OSE] /NOV[ERBOSE] |
Display status of linking process |
| /VER[SION]:major [.minor] | Write a version number in the run file |