-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Wish: Support for cross-compilation #4303
Description
Original bug ID: 4303
Reporter: n8gray
Status: acknowledged (set by @xavierleroy on 2017-02-20T09:56:21Z)
Resolution: open
Priority: normal
Severity: feature
Version: 3.10.0
Category: platform support (windows, cross-compilation, etc)
Related to: #6266 #6613
Monitored by: @ygrek @glondu Snark Camarade_Tux jm @hcarty "Richard Jones" @dra27 @avsm
Bug description
It would be nice if OCaml supported cross-compilation. There are a number of interesting platforms in existence today that are powerful enough to support an ocaml runtime environment but are not well suited for hosting the compiler itself, in particular mobile platforms (PocketPCs, Linux phones, Nintendo DS, PSP, etc). Cross-compilation is also attractive for Mac OS X users since it would allow us to build universal binaries of OCaml programs. There are various one-off patches floating around the net to get specific versions of OCaml to cross-compile to specific platforms, but it would be better to be able to build a single compiler supporting multiple architectures.