caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Hendrik Tews <H.Tews@cs.ru.nl>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] compiling ocaml into a shared object
Date: Thu, 14 Dec 2006 13:24:25 +0000	[thread overview]
Message-ID: <20061214132425.GA15804@furbychan.cocan.org> (raw)
In-Reply-To: <17793.19783.551299.652755@tandem.cs.ru.nl>

On Thu, Dec 14, 2006 at 02:10:31PM +0100, Hendrik Tews wrote:
> could somebody tell me how to compile ocaml sources into a shared
> object that can be loaded with dlopen? The following message
> seems to tell me that this is possible:

It's tricky, but I managed to compile the bytecode interpreter and
bytecode into a shared object.  See the source for mod_caml.so:

http://download.savannah.nongnu.org/releases/modcaml/
(actually there's a much newer version in CVS, but I don't think the
linking issue changed at all).

For AMD64, see also:

http://merjis.com/developers/mod_caml/amd64

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Internet Marketing and AdWords courses - http://merjis.com/courses - NEW!
Merjis blog - http://blog.merjis.com - NEW!


  reply	other threads:[~2006-12-14 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 13:10 Hendrik Tews
2006-12-14 13:24 ` Richard Jones [this message]
2006-12-15  5:29 oleg
2006-12-15  8:45 ` [Caml-list] " Hendrik Tews
2006-12-15  9:17 ` Richard Jones

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=20061214132425.GA15804@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=H.Tews@cs.ru.nl \
    --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;
as well as URLs for NNTP newsgroup(s).