/link (Linker-Control Options)

Option

/link [[option]]

This option passes to LINK the linker options, nondefault library names, and library search paths specified by the option argument. These options must appear after any source or object filenames and CL options. A space is required between \link and option.

The following CL options also affect the linker.

Option Effect

/F hexnum Resets stack size to specified hexadecimal number. This option is the same as passing the STACK option to LINK.
/Fm Produces a map file.
/FPa Specifies the alternate math library and places the name of the library for the current memory model in the object file.
/FPc Generates floating-point calls to the emulator library and places the name of the library for the current memory model in the object file.
/FPc87 Generates function calls to the 80x87 library and places the name of the library for the current memory model in the object file.
/FPi Uses the math emulator library.
/FPi87 Uses the coprocessor and places the name of the 80x87 library for the current memory model in the object file. You can specify an emulator library at link time with an object file that was linked with /FPi87 so that the resulting program runs in a system without a coprocessor.
/Ld Links with mDLLCfW.LIB and the Windows API library.
/Lr Appends “r” (for real mode) to the default library name in the generated object files.
/Lw Links with mLIBCfW.LIB and the Windows API library.