Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] HELP on -a options for ocamlopt
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-23 (12:52)
From: Markus Mottl <mottl@m...>
Subject: Re: [Caml-list] HELP on -a options for ocamlopt
On Mon, 23 Apr 2001, Franck Delaplace wrote:
> I try to built a library which contains several modules.
> ocamlopt -a  -o lib  t1.cmx t2.cmx t3.cmx

You have obviously forgotten to copy the compiled interface files (*.cmi).
They are needed in the include path (e.g. in the same dir) if you want
to access modules in the library.

You can omit them on purpose if you do not want the library user to "see"
some modules, e.g. implementations of internal stuff. But the publically
accessible ones need the compiled interface files.

Markus Mottl

Markus Mottl,,
To unsubscribe, mail  Archives: