From: "Nicolas Cannasse" <warplayer@free.fr>
To: <skaller@users.sourceforge.net>
Cc: "caml-list" <caml-list@inria.fr>
Subject: Re: [Caml-list] Native Module Linking
Date: Tue, 9 Nov 2004 22:56:37 +0100 [thread overview]
Message-ID: <000e01c4c6a6$fcbca9f0$19b0e152@warp> (raw)
In-Reply-To: <1100036274.6138.10.camel@pelican.wigram>
> > Hi,
> >
> > I have a project that is structured like this :
> > - a library with one Entry module and several Plugins
> > - an application using the library.
> >
> > In the application I'm doing the following :
> >
> > open Entry;
> > open Plugin1;
> > open Plugin2;
> > ....
> > (* use "Entry" *)
> >
> > Plugins are using Entry, and application is only activating plugins with
> > "open" (in order to ensure they're linked).
>
> open has no effect on linking, all it does is allow
> you to use unqualified names.
It depends exactly on what information basis linking is done
For example, ocamldep works at syntax level and will report a dependency if
an open is done. Ocamlopt could (should ?) enforce such dependency when an
"open" directive is found, since ocamlc and ocamlopt-win32 are working
correctly with it.
Nicolas Cannasse
next prev parent reply other threads:[~2004-11-09 21:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 18:38 Nicolas Cannasse
2004-11-09 21:37 ` [Caml-list] " skaller
2004-11-09 21:56 ` Nicolas Cannasse [this message]
2004-11-09 23:57 ` skaller
2004-11-10 1:47 ` Jacques Garrigue
2004-11-10 5:44 ` Nicolas Cannasse
2004-11-10 6:59 ` skaller
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='000e01c4c6a6$fcbca9f0$19b0e152@warp' \
--to=warplayer@free.fr \
--cc=caml-list@inria.fr \
--cc=skaller@users.sourceforge.net \
/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