Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Regards,
Markus Mottl

-- 
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr