summaryrefslogtreecommitdiffstats
path: root/man/ocamlmktop.m
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2008-09-15 14:05:30 +0000
committerDamien Doligez <damien.doligez-inria.fr>2008-09-15 14:05:30 +0000
commit448f1e4fc811ff7912de52caf705f78270d5921e (patch)
treec3909bef176e7fc030d7078959b9832f1ac6296a /man/ocamlmktop.m
parent4b8877a4222d3cceb64e7a17b7d2459283122a59 (diff)
PR#3915 update documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9025 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'man/ocamlmktop.m')
-rw-r--r--man/ocamlmktop.m30
1 files changed, 12 insertions, 18 deletions
diff --git a/man/ocamlmktop.m b/man/ocamlmktop.m
index 1a956329c..1fb402b9b 100644
--- a/man/ocamlmktop.m
+++ b/man/ocamlmktop.m
@@ -26,59 +26,53 @@ ocamlmktop \- Building custom toplevel systems
.SH DESCRIPTION
-The
+The
.BR ocamlmktop (1)
command builds Objective Caml toplevels that
contain user code preloaded at start-up.
-The
+The
.BR ocamlmktop (1)
command takes as argument a set of
-.IR x \&.cmo
+.IR x .cmo
and
-.IR x \&.cma
-files, and links them with the object files that implement the Objective
+.IR x .cma
+files, and links them with the object files that implement the Objective
Caml toplevel. If the
-.B -custom
+.B \-custom
flag is given, C object files and libraries (.o and .a files) can also
be given on the command line and are linked in the resulting toplevel.
.SH OPTIONS
-The following command-line options are recognized by
+The following command-line options are recognized by
.BR ocamlmktop (1).
-
.TP
.B \-v
Print the version number of the compiler.
-
.TP
-.BI \-cclib\ -l libname
-Pass the
+.BI \-cclib\ \-l libname
+Pass the
.BI \-l libname
option to the C linker when linking in
``custom runtime'' mode (see the corresponding option for
.BR ocamlc (1).
-
.TP
.B \-ccopt
Pass the given option to the C compiler and linker, when linking in
``custom runtime'' mode. See the corresponding option for
.BR ocamlc (1).
-
.TP
.B \-custom
Link in ``custom runtime'' mode. See the corresponding option for
.BR ocamlc (1).
-
.TP
-.BI \-I directory
+.BI \-I \ directory
Add the given directory to the list of directories searched for
compiled interface files (.cmo and .cma).
-
.TP
-.BI \-o \ exec-file
+.BI \-o \ exec\-file
Specify the name of the toplevel file produced by the linker.
-The default is is
+The default is is
.BR a.out .
.SH SEE ALSO