|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Dynamic loading on Mac OS XThis 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 |
|
|
Re: Dynamic loading on Mac OS XLe 15 oct. 08 à 22:14, Harrison, John R a écrit : > Am I just plain wrong, or has this really only started to work > recently? Dynamic linking of C libraries worked for me on macosx (at least ppc) a long time ago. According to the release notes this happened in 3.07, i.e. in 2003. Best, Daniel _______________________________________________ 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 |
|
|
Re: Dynamic loading on Mac OS XSee this post on beginner's list:
On Wed, Oct 15, 2008 at 4:14 PM, Harrison, John R <john.r.harrison@...> wrote: This discussion of dynamic loading in 3.11 reminded me of a more basic _______________________________________________ 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 |
|
|
RE: Dynamic loading on Mac OS X| See this post on beginner's list: | http://tech.groups.yahoo.com/group/ocaml_beginners/message/6905 Thanks, that almost certainly explains it:
dynamic loading for Intel Macs started working in 3.10, though it
worked earlier on PPC. 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 |
| Free Forum Powered by Nabble | Forum Help |