Skip to content

When ocamlfind is there (and not unplugged), use it to call ocaml tools during compilation#161

Open
pirbo wants to merge 3 commits intoocaml:masterfrom
pirbo:easy_cross_compil
Open

When ocamlfind is there (and not unplugged), use it to call ocaml tools during compilation#161
pirbo wants to merge 3 commits intoocaml:masterfrom
pirbo:easy_cross_compil

Conversation

@pirbo
Copy link
Contributor

@pirbo pirbo commented Mar 25, 2025

It is useful for cross-compilation: With it I can do

$ OCAMLFIND_TOOLCHAIN=windows ./configure -prefixnonocaml $(opam var conf-gcc-windows64:prefix)
$ OCAMLFIND_TOOLCHAIN=windows make

on my linux machine to get a windows build :)

No difference should be detectable in any other situation...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant