diff options
Diffstat (limited to 'man/ocamlopt.m')
-rw-r--r-- | man/ocamlopt.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/ocamlopt.m b/man/ocamlopt.m index 35dcb6dcd..539fe8fe1 100644 --- a/man/ocamlopt.m +++ b/man/ocamlopt.m @@ -22,7 +22,7 @@ ocamlopt \- The OCaml native-code compiler The OCaml high-performance native-code compiler .BR ocamlopt (1) -compiles Caml source files to native code object files and link these +compiles OCaml source files to native code object files and link these object files to produce standalone executables. The @@ -65,7 +65,7 @@ should always be referred to under the name .IR x .cmx (when given a .o file, .BR ocamlopt (1) -assumes that it contains code compiled from C, not from Caml). +assumes that it contains code compiled from C, not from OCaml). The implementation is checked against the interface file .IR x .mli @@ -74,7 +74,7 @@ The implementation is checked against the interface file Arguments ending in .cmx are taken to be compiled object code. These files are linked together, along with the object files obtained -by compiling .ml arguments (if any), and the Caml Light standard +by compiling .ml arguments (if any), and the OCaml standard library, to produce a native-code executable program. The order in which .cmx and .ml arguments are presented on the command line is relevant: compilation units are initialized in that order at @@ -318,7 +318,7 @@ option is given, specify the name of plugin file produced. .TP .B \-output\-obj Cause the linker to produce a C object file instead of an executable -file. This is useful to wrap Caml code as a C library, +file. This is useful to wrap OCaml code as a C library, callable from any C program. The name of the output object file is camlprog.o by default; it can be set with the .B \-o @@ -427,11 +427,11 @@ the module. The name of the plugin must be set with the .B \-o -option. A plugin can include a number of Caml +option. A plugin can include a number of OCaml modules and libraries, and extra native objects (.o, .a files). Building native plugins is only supported for some operating system. Under some systems (currently, -only Linux AMD 64), all the Caml code linked in a plugin must have +only Linux AMD 64), all the OCaml code linked in a plugin must have been compiled without the .B \-nodynlink flag. Some constraints might also |