Fantastic, this procedure works like a charm (tested on a XP virutal machine installed on my mac OS X) ! I can now produce ocaml binaires for windows.
Thank you very much for the tutorial!
For some reason ocamlopt cannot find ocaml libraires though... but it works if you give the link to the libraires explicitely using
ocamlopt -I /c/mingw/lib -I /c/ocamlmgw/lib (respecting the name of the procedure).
Cheers!
J
incidentally, I've just installed ocaml+SDL on windows Vista and XP,
using Mingw and flexlink, and I can compile both bytecode and nativecode.
I put up a blog post for this, maybe it can help you (?)
http://blogperso.univ-rennes1.fr/san.vu-ngoc/index.php/post/2011/02/20/Ocaml-
and-SDL-on-windows
San
--
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