• Microsoft Developer Network
  • ▶Highlights
  • ▶Technical Articles
  • ▶Sample Code
  • ▶Resource and Strategy
  • ▶Knowledge Base and Bug Lists
  • ▶Books and Magazine Articles
  • ▼Product Documentation
    • ▼C/C++ 7.0
      • ▶Programming Techniques
      • ▶C Language Reference
      • ▶Class Libraries Reference
      • ▶Class Libraries User's Guide
      • ▶Comprehensive Index and Errors Reference
      • ▼Environment and Tools
        • Title Page
        • ▶Introduction
        • ▶PART 1 The Programmer's WorkBench
        • ▶PART 2 The CodeView Debugger
        • ▼PART 3 Compiling and Linking
          • PART 3 Compiling and Linking
          • ▼Chapter 13 CL Command Reference
            • Chapter 13 CL Command Reference
            • 13.1 The CL Command Line
            • 13.2 How the CL Command Works
            • ▼13.3 CL Options
              • 13.3 CL Options
              • /A Options (Memory Models)
              • /batch (Compile in Batch Mode)
              • /Bm (Increasing Compiler Capacity)
              • /c (Compile Without Linking)
              • /C (Preserve Comments During Preprocessing)
              • /D (Define Constants and Macros)
              • /E (Copy Preprocessor Output to Standard Output)
              • /EP (Copy Preprocessor Output to Standard Output)
              • /F (Set Stack Size)
              • /f (Fast Compile)
              • /Fo, /Fe, /Fs, /Fa, /Fl, /Fc, /Fm, /Fp, /Fr, /FR (Set Alternate Output Files)
              • /FP Options (Select Floating-Point-Math Package)
              • /G0, /G1, /G2, /G3, /G4 (Generate Processor-Specific Instructions)
              • /GA, /GD (Optimize Entry/Exit Code for Protected-Mode Windows)
              • /GE (Customize Windows Entry/Exit Code)
              • /Gc, /Gd (Use FORTRAN/Pascal or C Calling Convention)
              • /Ge, /Gs (Turn Stack Checking On or Off)
              • /Gr (Register Calling Convention)
              • /Gn (Remove P-Code Native Entry Points)
              • /Gp (Specifying Entry Tables)
              • /Gq (Real-Mode Windows Entry/Exit Code)
              • /Gt (Set Data Threshold)
              • /Gw, /GW (Generate Entry/Exit Code for Real-Mode Windows Functions)
              • /Gx (Assume That Data Is Near)
              • /Gy (Enable Function-Level Linking)
              • /H (Restricts Length of External Names)
              • /HELP (List the Compiler Options)
              • /I (Search Directory for Include Files)
              • /J (Change Default char Type)
              • /Ld, /Lw (Control Library Selection)
              • /link (Linker-Control Options)
              • /Ln (Link Without C Run-Time Startup Code)
              • /Lr (Real Mode Default Library)
              • /MA (Macro Assembler Options)
              • /Mq (QuickWin Support)
              • /ND, /NM /NQ, /NT, /NV (Name the Data or Code Segments)
              • /nologo (Suppress Display of Sign-On Banner)
              • /O Options (Optimize Program)
              • /P (Create Preprocessor-Output File)
              • /qc (Quick Compile)
              • /Sl, /Sp, /Ss, /St (Source-Listing Format Options)
              • /Tc, /Tp, Ta (Specify C, C++ Source File, or Assembly Language)
              • /U, /u (Remove Predefined Names)
              • /V (Set Version String)
              • /W, /w (Set Warning Level)
              • /X (Ignore Standard Include Directory)
              • /Fp (Specify Precompiled Header Filename)
              • /Yc, /Yd, /Yu (Precompiled Header Options)
              • /Ze, /Za (Enable or Disable Language Extensions)
              • /Zc (Specify Pascal Naming)
              • /Zg (Generate Function Prototypes)
              • /Zi, /Zd (Compile for Debugging)
              • /Zl (Remove Default-Library Name from Object File)
              • /Zp (Pack Structure Members)
              • /Zf (Accept __far Keyword)
              • /Zn (Turn Off SBRPACK Utility)
              • /Zr (Check Pointers)
              • /Zs (Check Syntax Only)
              • Specifying Options with the CL Environment Variable
          • ▶Chapter 14 Linking Object Files with LINK
          • ▶Chapter 15 Creating Overlaid DOS Programs
          • ▶Chapter 16 Creating Module-Definition Files
          • ▶Chapter 17 Using EXEHDR
        • ▶PART 4 Utilities
        • ▶PART 5 Using Help
        • ▶PART 6 Appendixes
      • ▶Run-time Library Reference
      • ▶C++ Tutorial
      • ▶C++ Language Reference
    • ▶Macro Assembler 6.0
    • ▶Multimedia Development Kit
    • ▶OLE 1.0 Programmer's Reference
    • ▶Win32 SDK for Windows NT
    • ▶Windows 3.1 DDK
    • ▶Windows 3.1 SDK
    • ▶QuickC for Windows
  • ▶Unsupported Tools & Utilities