caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <mottl@miss.wu-wien.ac.at>
To: Franck Delaplace <delapla@lami.univ-evry.fr>
Cc: OCAML <caml-list@inria.fr>
Subject: Re: [Caml-list] HELP on -a options for ocamlopt
Date: Mon, 23 Apr 2001 14:52:42 +0200	[thread overview]
Message-ID: <20010423145242.A17454@miss.wu-wien.ac.at> (raw)
In-Reply-To: <3AE3F6FA.92E33DC0@lami.univ-evry.fr>; from delapla@lami.univ-evry.fr on Mon, Apr 23, 2001 at 11:33:46 +0200

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


      reply	other threads:[~2001-04-23 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23  9:33 Franck Delaplace
2001-04-23 12:52 ` Markus Mottl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010423145242.A17454@miss.wu-wien.ac.at \
    --to=mottl@miss.wu-wien.ac.at \
    --cc=caml-list@inria.fr \
    --cc=delapla@lami.univ-evry.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).