[Haskell-cafe] Cross compilation
Brandon Allbery
allbery.b at gmail.com
Sat Nov 12 21:28:40 UTC 2016
On Sat, Nov 12, 2016 at 4:17 PM, Jan von Löwenstein <
jan.loewenstein at gmail.com> wrote:
> Glad that I am running on Mac, the other direction would be more difficult
> I suppose.
Impossible, legally, since you aren't licensed to install OS X headers and
libraries even for cross-compilation on other OSes. You could generate
object code (if you can work around not having OS includes, or you don't
need them) but final link would need to be done on a Mac to comply with
Apple licensing. (Well, since Apple uses dynamic linking exclusively, in
theory someone could clean-room enough of a fake e.g. libSystem.dylib to
enable cross-link without actually having any of its object code. Lot of
work for dubious amount of gain, though, and the edge cases would be
horrendous.)
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161112/d70ec73d/attachment.html>
More information about the Haskell-Cafe
mailing list