From: "Harrison, John R" <john.r.harrison@intel.com>
To: OCaml <caml-list@yquem.inria.fr>
Subject: Dynamic loading on Mac OS X
Date: Wed, 15 Oct 2008 13:14:50 -0700 [thread overview]
Message-ID: <BC67582D4FC8ED45BAABE48343BF571102FF215F74@azsmsx501.amr.corp.intel.com> (raw)
This discussion of dynamic loading in 3.11 reminded me of a more basic
question I meant to ask, but never did. On certain platforms, e.g. all
Linuxes I've ever used, the following works in a plain OCaml toplevel:
#load "nums.cma";;
On other platforms, notably Cygwin, it doesn't. (At least, for OCaml
3.10 on my version of Cygwin, which is not very old.)
# #load "nums.cma";;
Cannot load required shared library dllnums.
Reason: dllnums.so: dynamic loading not supported on this platform.
I was sure that Mac OS X was among the platforms where this *doesn't*
work, based on experiments a year or two ago. However I recently found
that apparently it *does* after all work on my Mac. Since the original
experiments I've upgraded the Mac to Leopard, and maybe I've even
changed my OCaml version, though I don't remember for sure. Am I just
plain wrong, or has this really only started to work recently?
John.
next reply other threads:[~2008-10-15 20:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 20:14 Harrison, John R [this message]
2008-10-15 20:34 ` [Caml-list] " Daniel Bünzli
2008-10-16 13:16 ` Ashish Agarwal
2008-10-17 16:28 ` Harrison, John R
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=BC67582D4FC8ED45BAABE48343BF571102FF215F74@azsmsx501.amr.corp.intel.com \
--to=john.r.harrison@intel.com \
--cc=caml-list@yquem.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).