« Return to Thread: state of native dynlink on os x

Re: state of native dynlink on os x

by Alan Schmitt :: Rate this Message:

| View in Thread

On 8 mars 2012, at 15:23, Pierre-Alexandre Voye wrote:

> In Mac Lion, i get :
>
> $ ocamlopt.opt -shared plugin.cmx test.cmxa -o plugin.cmxs
> ld: warning: -read_only_relocs cannot be used with x86_64
> $ ocamlopt.opt test.cmxa dynlink.cmxa loader.ml -o loader.native
> File "loader.ml", line 1, characters 0-1:
> Error: Cannot find file dynlink.cmxa

You first need to patch ocaml with this:
http://caml.inria.fr/mantis/view.php?id=4863

Alan

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

 « Return to Thread: state of native dynlink on os x