From: Alain Frisch <Alain.Frisch@inria.fr>
To: Christian Sternagel <Christian.Sternagel@uibk.ac.at>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] generating .cma-files with ocamlbuild
Date: Sat, 24 Mar 2007 16:26:36 +0100 [thread overview]
Message-ID: <4605432C.4030105@inria.fr> (raw)
In-Reply-To: <1174749088.46053fa061126@web-mail1.uibk.ac.at>
Christian Sternagel wrote:
> Is there an easy way to tell ocamlbuild that it should
> take some *.ml and *.mli files and build an archive
> <name>.cma out of them?
Yes, just create a .mllib file that lists all the modules you want to
include in the .cma.
> 1) Is my understandung correct?
Yes, it is.
> 2) Can there be a problem if somebody using util.cma
> (who does not know, that setInternal.cmo is part of
> it) uses a self-made module by the name SetInternal
> in his application?
Indeed, the linker will complain about incompatible interfaces for the
same module name.
-- Alain
prev parent reply other threads:[~2007-03-24 15:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-24 15:11 Christian Sternagel
2007-03-24 15:26 ` Alain Frisch [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=4605432C.4030105@inria.fr \
--to=alain.frisch@inria.fr \
--cc=Christian.Sternagel@uibk.ac.at \
--cc=caml-list@inria.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