New CL Command-Line Options

The following CL command-line options are new to Microsoft C 7:

Option Action

/Bmmemavailable Sets the amount of memory available to the compiler.
/f Specify fast compile (replaces /qc).
/Fpfilename Specify precompiled header filename.
/GA Optimize entry/exit code for protected-mode Windows applications.
/GD Optimize entry/exit code for protected-mode Windows DLLs.
/GEstring Optimize entry/exit code for protected-mode Windows DLLs.
/Gn Remove p-code native entry points.
/Gpnumber Specify maximum number of entry tables.
/Gq Specify real mode Windows (for compatibility with /Gw).
/Gx Assume all data is near.
/Gy Enable function-level linking.
/Ld Control library selection for DLLs.
/Lw Control library selection for applications.
/Lu Link without C run-time startup code.
/NQpcodesegment Name temporary segment for p-code.
/NV Name temporary segment for far virtual tables.
/Obnumber Control inline expansion.
/Oq Turn on p-code optimization.
/Of[[-]] Turn on (or off) p-code quoting.
/Oo[[-]] Turn on (or off) post code-generation optimizing.
/Ov[[-]] Sort local variables by frequency of use (or in the order they appear) for p-code.
/Tp Specify C++ source file.
/Yc[[filename]] Create precompiled header.
/Yd Include debugging information in precompiled header file.
/Yu[[filename]] Use precompiled header file.
/Zf Accept __far keyword (32-bit code only)
/Zn Turn off SBRPACK utility.