1LABLGTK2(1)                      User Commands                     LABLGTK2(1)
2
3
4

NAME

6       lablgtk2 - manual page for lablgtk2 2.18.10
7

SYNOPSIS

9       ocaml <options> <object-files> [script-file [arguments]]
10

DESCRIPTION

12   options are:
13       -absname
14              Show absolute filenames in error messages
15
16       -alert <list>
17              Enable or disable alerts according to <list>:
18
19       +<alertname>
20              enable alert <alertname>
21
22       -<alertname>
23              disable alert <alertname>
24
25       ++<alertname> treat <alertname> as fatal error
26
27       --<alertname> treat <alertname> as non-fatal
28
29       @<alertname>
30              enable <alertname> and treat it as fatal error
31
32              <alertname> can be 'all' to refer to all alert names
33
34       -I <dir>
35              Add <dir> to the list of include directories
36
37       -init <file>
38              Load <file> instead of default init file
39
40       -labels
41              Use commuting label mode
42
43       -alias-deps
44              Do record dependencies for module aliases
45
46       -no-alias-deps
47              Do not record dependencies for module aliases
48
49       -app-funct
50              Activate applicative functors
51
52       -no-app-funct
53              Deactivate applicative functors
54
55       -noassert
56              Do not compile assertion checks
57
58       -noinit
59              Do not load any init file
60
61       -nolabels
62              Ignore non-optional labels in types
63
64       -noprompt
65              Suppress all prompts
66
67       -nopromptcont
68              Suppress prompts for continuation lines of multi-line inputs
69
70       -nostdlib
71              Do not add default directory to the list of include directories
72
73       -nopervasives
74              (undocumented)
75
76       -open <module>
77              Opens the module <module> before typing
78
79       -ppx <command>
80              Pipe abstract syntax trees through preprocessor <command>
81
82       -principal
83              Check principality of type inference
84
85       -no-principal
86              Do not check principality of type inference (default)
87
88       -rectypes
89              Allow arbitrary recursive types
90
91       -no-rectypes
92              Do not allow arbitrary recursive types (default)
93
94       -safe-string
95              (was set when configuring the compiler)
96
97       -short-paths
98              Shorten paths in types
99
100       -stdin Read script from standard input
101
102       -strict-sequence
103              Left-hand part of a sequence must have type unit
104
105       -no-strict-sequence
106              Left-hand part of a sequence need not have type unit (default)
107
108       -strict-formats
109              Reject invalid formats accepted by legacy implementations
110
111              (Warning: Invalid formats may behave differently from
112
113              previous  OCaml  versions,  and  will  become always-rejected in
114              future OCaml versions. You should always use this flag to detect
115              invalid formats so you can fix them.)
116
117       -no-strict-formats
118              Accept   invalid  formats  accepted  by  legacy  implementations
119              (default)
120
121              (Warning: Invalid formats may behave differently from
122
123              previous OCaml versions,  and  will  become  always-rejected  in
124              future  OCaml  versions.  You  should  never  use  this flag and
125              instead fix invalid formats.)
126
127       -unboxed-types
128              unannotated unboxable types will be unboxed
129
130       -no-unboxed-types
131              unannotated unboxable types will not be unboxed (default)
132
133       -unsafe
134              Do not compile bounds checking on array and string access
135
136       -unsafe-string
137              (option not available)
138
139       -version
140              Print version and exit
141
142       --version
143              Print version and exit
144
145       -no-version
146              Do not print version at startup
147
148       -vnum  Print version number and exit
149
150       -w <list>
151              Enable or disable warnings according to <list>:
152
153       +<spec>
154              enable warnings in <spec>
155
156       -<spec>
157              disable warnings in <spec>
158
159       @<spec>
160              enable warnings in <spec> and treat them as errors
161
162              <spec> can be:
163
164       <num>  a single warning number
165
166       <num1>..<num2>
167              a range of consecutive warning numbers
168
169       <letter>
170              a predefined set
171
172              default                        setting                        is
173              "+a-4-6-7-9-27-29-30-32..42-44-45-48-50-60-66-67"
174
175       -warn-error <list>
176              Enable or disable error status for warnings according
177
178       to <list>.
179              See option -w for the syntax of <list>.
180
181              Default setting is "-a+31"
182
183       -warn-help
184              Show description of warning numbers
185
186       - <file>
187              Treat <file> as a file name (even if it starts with `-')
188
189       -color {auto|always|never}
190              Enable or disable colors in compiler messages
191
192              The following settings are supported:
193
194       auto   use heuristics to enable colors only if supported
195
196       always enable colors
197
198       never  disable colors
199
200              The  default setting is 'auto', and the current heuristic checks
201              that the TERM environment variable exists and is  not  empty  or
202              "dumb", and that isatty(stderr) holds.
203
204              If  the option is not specified, these setting can alternatively
205              be   set   through   the   OCAML_COLOR   environment   variable.
206              -error-style  {contextual|short}  Control the way error messages
207              and warnings are printed
208
209              The following settings are supported:
210
211       short  only print the error and its location
212
213       contextual
214              like "short", but also display the source  code  snippet  corre‐
215              sponding to the location of the error
216
217              The default setting is 'contextual'.
218
219              If  the option is not specified, these setting can alternatively
220              be  set  through  the  OCAML_ERROR_STYLE  environment  variable.
221              -dno-unique-ids    (undocumented)  -dunique-ids   (undocumented)
222              -dsource  (undocumented) -dparsetree  (undocumented) -dtypedtree
223              (undocumented)  -drawlambda   (undocumented)  -dlambda  (undocu‐
224              mented) -dinstr  (undocumented)  -args  <file>  Read  additional
225              newline-terminated command line arguments
226
227              from <file>
228
229       -args0  <file>  Read  additional null character terminated command line
230              arguments
231
232       from <file>
233
234       -help  Display this list of options
235
236       --help Display this list of options
237
238
239
240lablgtk2 2.18.10                 February 2020                     LABLGTK2(1)
Impressum