caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Ashish Agarwal" <agarwal1975@gmail.com>
To: "Harrison, John R" <john.r.harrison@intel.com>
Cc: OCaml <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Dynamic loading on Mac OS X
Date: Thu, 16 Oct 2008 09:16:52 -0400	[thread overview]
Message-ID: <d8be5ae20810160616l1e36f142j6bc3685eddfe836b@mail.gmail.com> (raw)
In-Reply-To: <BC67582D4FC8ED45BAABE48343BF571102FF215F74@azsmsx501.amr.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

See this post on beginner's list:
http://tech.groups.yahoo.com/group/ocaml_beginners/message/6905


On Wed, Oct 15, 2008 at 4:14 PM, Harrison, John R <john.r.harrison@intel.com
> wrote:

> 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.
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

[-- Attachment #2: Type: text/html, Size: 2222 bytes --]

  parent reply	other threads:[~2008-10-16 13:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15 20:14 Harrison, John R
2008-10-15 20:34 ` [Caml-list] " Daniel Bünzli
2008-10-16 13:16 ` Ashish Agarwal [this message]
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=d8be5ae20810160616l1e36f142j6bc3685eddfe836b@mail.gmail.com \
    --to=agarwal1975@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=john.r.harrison@intel.com \
    /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).