~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to man/ocamlmktop.m

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2009-02-22 08:49:13 UTC
  • mfrom: (12.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090222084913-3i0uw2bhd0lgw0ok
* Uploading to unstable
* debian/control: bump dh-ocaml to (>= 0.4) to avoid buggy ocamlinit.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\" $Id: ocamlmktop.m,v 1.3 2008/09/15 14:12:56 doligez Exp $
1
2
.TH OCAMLMKTOP 1
2
3
 
3
4
.SH NAME
26
27
 
27
28
.SH DESCRIPTION
28
29
 
29
 
The 
 
30
The
30
31
.BR ocamlmktop (1)
31
32
command builds Objective Caml toplevels that
32
33
contain user code preloaded at start-up.
33
 
The 
 
34
The
34
35
.BR ocamlmktop (1)
35
36
command takes as argument a set of
36
 
.IR x \&.cmo
 
37
.IR x .cmo
37
38
and
38
 
.IR x \&.cma
39
 
files, and links them with the object files that implement the Objective 
 
39
.IR x .cma
 
40
files, and links them with the object files that implement the Objective
40
41
Caml toplevel.  If the
41
 
.B -custom
 
42
.B \-custom
42
43
flag is given, C object files and libraries (.o and .a files) can also
43
44
be given on the command line and are linked in the resulting toplevel.
44
45
 
45
46
.SH OPTIONS
46
47
 
47
 
The following command-line options are recognized by 
 
48
The following command-line options are recognized by
48
49
.BR ocamlmktop (1).
49
 
 
50
50
.TP
51
51
.B \-v
52
52
Print the version number of the compiler.
53
 
 
54
53
.TP
55
 
.BI \-cclib\ -l libname
56
 
Pass the 
 
54
.BI \-cclib\ \-l libname
 
55
Pass the
57
56
.BI \-l libname
58
57
option to the C linker when linking in
59
58
``custom runtime'' mode (see the corresponding option for
60
59
.BR ocamlc (1).
61
 
 
62
60
.TP
63
61
.B \-ccopt
64
62
Pass the given option to the C compiler and linker, when linking in
65
63
``custom runtime'' mode. See the corresponding option for
66
64
.BR ocamlc (1).
67
 
 
68
65
.TP
69
66
.B \-custom
70
67
Link in ``custom runtime'' mode. See the corresponding option for
71
68
.BR ocamlc (1).
72
 
 
73
69
.TP
74
 
.BI \-I  directory
 
70
.BI \-I \ directory
75
71
Add the given directory to the list of directories searched for
76
72
compiled interface files (.cmo and .cma).
77
 
 
78
73
.TP
79
 
.BI \-o \ exec-file
 
74
.BI \-o \ exec\-file
80
75
Specify the name of the toplevel file produced by the linker.
81
 
The default is is 
 
76
The default is is
82
77
.BR a.out .
83
78
 
84
79
.SH SEE ALSO