summaryrefslogtreecommitdiff
path: root/v4.0/src/TOOLS/CL.HLP
diff options
context:
space:
mode:
authorGravatar Mark Zbikowski2024-04-25 21:24:10 +0100
committerGravatar Microsoft Open Source2024-04-25 22:32:27 +0000
commit2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch)
tree80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/TOOLS/CL.HLP
parentMerge pull request #430 from jpbaltazar/typoptbr (diff)
downloadms-dos-main.tar.gz
ms-dos-main.tar.xz
ms-dos-main.zip
MZ is back!HEADmain
Diffstat (limited to 'v4.0/src/TOOLS/CL.HLP')
-rw-r--r--v4.0/src/TOOLS/CL.HLP79
1 files changed, 79 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/CL.HLP b/v4.0/src/TOOLS/CL.HLP
new file mode 100644
index 0000000..f8e5da0
--- /dev/null
+++ b/v4.0/src/TOOLS/CL.HLP
@@ -0,0 +1,79 @@
1C COMPILER OPTIONS
2-MEMORY MODEL-
3/AS small model (default)
4/AC compact model
5/AM medium model
6/AL large model
7/AH huge model
8-OPTIMIZATION-
9/O enable optimization (same as /Ot)
10/Oa ignore aliasing
11/Od disable optimizations
12/Oi enable intrinsic functions
13/Ol enable loop optimizations
14/On disable "unsafe" optimizations
15/Op enable precision optimizations
16/Or disable in_line return
17/Os optimize for space
18/Ot optimize for speed (default)
19/Ox max. optimization (/Oailt /Gs)
20-CODE GENERATION-
21/G0 8086 instructions (default)
22/G1 186 instructions
23/G2 286 instructions
24/Gm put strings in constant segment
25/Gc Pascal style function calls
26/Gs no stack checking
27/Gt[number] data size threshold
28-OUTPUT FILES-
29/Fa[assembly listing file]
30/Fb[bound executable file]
31/Fc[mixed source/object listing file]
32/Fe<executable file>
33/Fl[object listing file]
34/Fm[map file]
35/Fo<object file>
36/Fs[source listing file]
37-PREPROCESSOR-
38/C don't strip comments
39/D<name>[=text] define macro
40/E preprocess to stdout
41/EP same as /E but no #line
42/I<name> add #include path
43/P preprocess to file
44/U<name> remove predefined macro
45/u remove all predefined macros
46/X ignore "standard places"
47-LANGUAGE-
48/Za disable extensions
49/Zd line number information
50/Ze enable extensions (default)
51/Zg generate declarations
52/Zi symbolic debugging information
53/Zl remove default library info
54/Zp[n] pack structs on n-byte boundary
55/Zs syntax check only
56-FLOATING POINT-
57/FPa calls with altmath
58/FPc calls with emulator
59/FPc87 calls with 8087 library
60/FPi inline with emulator (default)
61/FPi87 inline with 8087
62-SOURCE LISTING-
63/Sl<columns> set line width
64/Sp<lines> set page length
65/St<string> set title string
66/Ss<string> set subtitle string
67-MISCELLANEOUS-
68/c compile only, no link
69/H<number> external name length
70/J default char type is unsigned
71/Tc<file> compile file without .c
72/V<string> set version string
73/W<number> warning level
74-LINKING-
75/F<hex_number> stack size (hex. bytes)
76/Lc link compatibility mode executable
77/Lr link compatibility mode executable
78/Lp link protect mode executable
79/link [linker_options_and_libraries]