Hello, I have an issue when I try to compile it on Mac OS X 10.7
It still an issue with Dynlink. I even applyed the dynlink patch on Ocaml, so I have Dynlink libs
-rw-r--r-- 1 root admin 26K 8 mar 16:18 dynlink.a
-rw-r--r-- 1 root admin 137K 5 avr 04:33 dynlink.cma
-rw-r--r-- 1 root admin 1,8K 5 avr 04:33 dynlink.cmi
-rw-r--r-- 1 root admin 3,1K 8 mar 16:18 dynlink.cmx
-rw-r--r-- 1 root admin 1,1K 8 mar 16:18 dynlink.cmxa
-rw-r--r-- 1 root admin 6,0K 5 avr 04:33 dynlink.mli
After a lot of warnings, like
ocamlfind ocamlopt -c -g -package findlib -package dynlink -I src -I src/utils -I src/typing -I src/toplevel -I src/parsing -I src/jitcomp -I src/bytecomp -I src/asmcomp -o src/ocamlnat.cmx src/ocamlnat.ml
findlib: [WARNING] Interface toploop.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topmain.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
/opt/local/bin/ocamlmklib -o src/ocamlnat src/jitcomp/natjit.o
ld: warning: -read_only_relocs cannot be used with x86_64
Hello, I have an issue when I try to compile it on Mac OS X 10.7 It still an issue with Dynlink. I even applyed the dynlink patch on Ocaml, so I have Dynlink libs -rw-r--r-- 1 root admin 26K 8 mar 16:18 dynlink.a -rw-r--r-- 1 root admin 137K 5 avr 04:33 dynlink.cma -rw-r--r-- 1 root admin 1,8K 5 avr 04:33 dynlink.cmi -rw-r--r-- 1 root admin 3,1K 8 mar 16:18 dynlink.cmx -rw-r--r-- 1 root admin 1,1K 8 mar 16:18 dynlink.cmxa -rw-r--r-- 1 root admin 6,0K 5 avr 04:33 dynlink.mli
After a lot of warnings, like
I have
Interestingly, when I type : ocamlfind ocamlopt -verbose -g -linkpkg -package "findlib,dynlink"
Effective set of compiler predicates: pkg_findlib,pkg_dynlink,autolink,native