summaryrefslogtreecommitdiffstats
path: root/man/ocaml.help
blob: fc20b34598104e07cba72879543e0888232bfb87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-   
OCaml           # Objective Caml toplevel
OCaml [-I directory] [-unsafe]
    -I directory            # search for interface files in directory
    -unsafe                 # suppress bound checking for arrays and strings

-   
OCamlc          # Objective Caml compiler
OCamlc [optionsÉ] nameÉ
    -a                      # build a library file
    -c                      # compile only, do not link
    -cclib option           # pass option to the C linker
    -ccopt option           # pass option to the C compiler
    -i                      # print types
    -I directory            # look in directory for .cm[io] files
    -o file                 # output to file (default a.out)
    -v                      # print compiler version number
    -unsafe                 # suppress bound checking for arrays and strings

-   
OCamlc-custom   # Objective Caml compiler for custom runtime mode
OCamlc-custom [optionsÉ] nameÉ
    -a                      # build a library file
    -c                      # compile only, do not link
    -cclib option           # pass option to the C linker
    -ccopt option           # pass option to the C compiler
    -i                      # print types
    -I directory            # look in directory for .cm[io] files
    -o file                 # output to file (default a.out)
    -v                      # print compiler version number
    -unsafe                 # suppress bound checking for arrays and strings

-   
OCamlDep        # Objective Caml dependency generator
OcamlDep [-I directory] nameÉ
    -I                      # look in directory for .cmi files

-   
OCamlLex        # Objective Caml lexer generator
OCamlLex name.mll

-   
OCamlRun        # Objective Caml bytecode interpreter
OCamlRun [-v] file [argumentsÉ]
    -v                      # print GC messages

-   
OCamlYacc       # Objective Caml parser generator
OCamlYacc [-v] [-b string] file.mly
    -v                      # put verbose report in file.output
    -b string               # name output files string.ml and string.mli