C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Linker-Control Options
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     The following CL options affect the linker.
 
     Option       Effect
 
     /F hexnum    Resets stack size to specified <hexnum>. This option
                  is the same as passing the STACK option to LINK,
                  causing the /STACK:<hexnum> to be emitted to the
                  linker.
                  See: Setting Stack Size
 
     /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.
 
     /Lr          Specifies the real-mode libraries to the linker. (Do
                  not use if real mode is the default target
                  environment.)
 
     /Ld          Links with mDLLCfW.LIB and the Windows API library.
 
     /Lw          Links with mLIBCfW.LIB and the Windows API library.
 
    See:  LINK Overview
          Overriding the Default Library
                                    -♦-