On Sat, Nov 12, 2016 at 4:17 PM, Jan von Löwenstein <jan.loewenstein@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net