From: skaller <skaller@users.sourceforge.net>
To: Nicolas Cannasse <warplayer@free.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Native Module Linking
Date: 10 Nov 2004 08:37:56 +1100 [thread overview]
Message-ID: <1100036274.6138.10.camel@pelican.wigram> (raw)
In-Reply-To: <00bc01c4c68b$4f1f6d70$19b0e152@warp>
On Wed, 2004-11-10 at 05:38, Nicolas Cannasse wrote:
> 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.
> On windows everything works well but looks like on Linux some configurations
> are not linking the plugins
If you are not using code in a plugin, it won't be linked
from a library .. and it also won't be a problem, because
you're not using it .. that's the point of a library
after all.
Just place the cmx in the link command line to forcibly
link it, to see the side effects of initialisation.
--
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850,
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net
next prev parent reply other threads:[~2004-11-09 21:38 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 ` skaller [this message]
2004-11-09 21:56 ` [Caml-list] " Nicolas Cannasse
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=1100036274.6138.10.camel@pelican.wigram \
--to=skaller@users.sourceforge.net \
--cc=caml-list@inria.fr \
--cc=warplayer@free.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