windows-nt/Source/XPSP1/NT/com/ole32/olethunk/ole16/tools/cl.msg

127 lines
3.7 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
C COMPILER OPTIONS
-MEMORY MODEL-
/AS small model (default)
/AC compact model
/AM medium model
/AL large model
/AH huge model
/AT tiny model (.COM files)
/A<string> (custom memory model)
-OPTIMIZATION-
/O enable optimization (same as /Ot)
/Oa assume no aliasing
/Ob<n> inline expansion
/Oc local common subexpression opt.
/Od disable optimization (default)
/Oe enable registers allocation
/Of[-] toggle p-code quoting
/Og global common subexpression opt.
/Oi enable intrinsic functions
/Ol enable loop optimizations
/On disable "unsafe" optimizations
/Oo[-] toggle post code-gen. opt.
/Op[-] improve floating-pt consistency
/Oq enable maximum p-code optimization
/Or gen. common exit code (CodeView)
/Os optimize for space
/Ot optimize for speed
/Ov[-] toggle p-code frame sorting
/Ow assume cross-function aliasing
/Ox maximum opts. (/Ob1cegilnot /Gs)
/Oz enable "unsafe" optimizations
-CODE GENERATION-
/G0 8086 instructions (default)
/G1 186 instructions
/G2 286 instructions
/GA protected-mode Win entry/exit code
/GD protected-mode Win entry/exit code
/GE<x> customize Windows entry/exit
/Gq backwards compatibility with v. 6
/Gc Pascal style calling conventions
/Gd C style calling conventions
/Ge use stack-check calls
/Gs remove stack-check calls
/Gn remove p-code native entry points
/Gp<num> specify p-code entry tables
/Gr _fastcall style calling convention
/Gt[num] data size threshold
/GW real-mode Windows entry/exit code
/Gw real-mode Windows entry/exit code
/Gx assume that data is near
/Gy separate functions for linker
/Zr check null pointers (/f only)
-OUTPUT FILES-
/Fa[file] name assembly listing file
/Fc[file] name source/object listing
/Fe<file> name executable filename
/Fl[file] name object listing filename
/Fm[file] name map filename
/Fo<file> name object filename
/Fr[file] name .SBR filename
/Fp<file> name .PCH filename
/FR[file] name extended .SBR filename
/Fs[file] name source listing filename
-PREPROCESSOR-
/C don't strip comments
/D<name>[=|#text] define macro
/E preprocess to stdout
/EP same as /E but no #line
/I<directory> add #include path
/P preprocess to file
/U<name> remove predefined macro
/u remove all defined macros
/X ignore "standard places"
-LANGUAGE-
/Za disable extensions (implies /Op)
/Zd line number information
/Ze enable extensions (default)
/Zg generate function prototypes
/Zi prepare for debugging (CodeView)
/Zl omit default library name in .OBJ
/Zp[n] pack structs on n-byte boundary
/Zs check syntax only
-FLOATING POINT-
/FPa calls with altmath
/FPc calls with emulator
/FPc87 calls with 8087 library
/FPi inline with emulator (default)
/FPi87 inline with 8087
-SOURCE LISTING-
/Sl<columns> set line width
/Sp<lines> set page length
/St<string> set title string
/Ss<string> set subtitle string
-MISCELLANEOUS-
/batch specify batch mode compilation
/Bm<num> set compiler's available mem.
/c compile only, no link
/H<num> external name length
/J default char type is unsigned
/f select fast compiler
/f- select optimizing compiler
/Yc create .PCH file
/Yd put debug info in .PCH file
/Yu use .PCH file
/nologo suppress copyright message
/Mq compile for QuickWin
/ND<name> name data segment
/NM<name> name code segment
/NQ<name> combine p-code temp segments
/NT<name> name code segment
/NV<name> name far v-table segment
/Tc<file> compile file without .c
/Tp<file> compile file without .cpp
/V<string> set version string
/W<num> warning level (0..4,X)
/Zn turn off SBRPACK for .SBR files
-MASM SUPPORT-
/MA<MASM switch>
/Ta<file> assemble file without .asm
-LINKING-
/F <hex_num> stack size (hex. bytes)
/Lr append 'r' to default lib in .OBJ
/link [lib] give lib name to linker
/Ln do not link CRT.LIB
/Ld select dynamically-linked library
/Lw select statically-linked library