On Tue, May 19, 2009 at 09:51:46PM +1000, David Crawshaw wrote: > There does not seem to be an ocamlfind binary installed by the > mingw findlib package, and it isn't obvious to me how to use the > normal ocamlfind binary with the mingw ocaml. Have I missed > something in my ignorance of findlib, or is this work unfinished?
It uses the normal ocamlfind (remember: build-time tools are never cross-compiled). You set the environment variable OCAMLFIND_CONF to point to the alternate configuration file, eg. OCAMLFIND_CONF=/etc/i686-pc-mingw32-ocamlfind.conf export OCAMLFIND_CONF Then you can just use ordinary ocamlfind commands, which will pick up the cross-compiler, eg: ocamlfind ocamlopt foo.ml -o foo.exe Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v _______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
