From: Richard Jones <rich@annexia.org>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlmklib on Windows
Date: Fri, 18 Jul 2003 15:00:19 +0100 [thread overview]
Message-ID: <20030718140019.GA1675@redhat.com> (raw)
In-Reply-To: <20030717223755.A9298@pauillac.inria.fr>
On Thu, Jul 17, 2003 at 10:37:55PM +0200, Xavier Leroy wrote:
> There's a mismatch between the ocamlmklib approach and Windows DLLs
> that has prevented me so far from making the former work with the
> latter.
>
> Basically, ocamlmklib assumes that, from the *same* set of object C
> files, one can build both
> - a static library that can be statically linked with the Caml runtime system
> and the application, and
> - a shared library (DLL) that can be dynamically linked with the Caml
> runtime system and the application.
This is surely similar to the need for compiling C object files with
-fPIC/-fpic under Linux if they are to become DLLs. Of course you
/can/ compile without this flag, but as I understand it, if you do so
you get shared libraries which aren't shared very effectively.
Rich.
--
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
All new technology is irrelevant until it is taken up by the public.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2003-07-18 14:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-16 15:07 Richard Jones
2003-07-17 20:37 ` Xavier Leroy
2003-07-18 14:00 ` Richard Jones [this message]
2003-07-18 14:12 ` Xavier Leroy
[not found] ` <isq0rl4h.fsf@totally-fudged-out-message-id>
2003-07-18 15:26 ` Dmitry Bely
2003-07-18 16:18 ` Xavier Leroy
2003-07-18 23:40 ` Jerome Simeon
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=20030718140019.GA1675@redhat.com \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=xavier.leroy@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