From: Alain Frisch <alain@frisch.fr>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Relevance of explicit -linkall with ocamlopt -shared
Date: Thu, 30 Oct 2008 10:15:27 +0100 [thread overview]
Message-ID: <49097B2F.4090801@frisch.fr> (raw)
In-Reply-To: <490974E5.4080002@glondu.net>
Stéphane Glondu wrote:
> Are there cases where ocamlopt -shared is useful without -linkall?
Yes, I think so. First, of course, when you don't link any library in
the .cmxs, only modules, then -linkall is not needed (but admittedly it
wouldn't hurt). Second, imagine you want to create an addin that relies
on code in a library which you want to embed in the addin. You don't
necessarily want to link the whole library, just the modules which are
needed.
-- Alain
prev parent reply other threads:[~2008-10-30 9:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 8:48 Stéphane Glondu
2008-10-30 9:15 ` 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=49097B2F.4090801@frisch.fr \
--to=alain@frisch.fr \
--cc=caml-list@inria.fr \
--cc=steph@glondu.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