On Fri, Mar 25, 2016 at 09:03:18AM -0400, Yaroslav Halchenko wrote: > Dear Fella DDs, > > I was referred to https://github.com/tpoechtrager/osxcross which allows to > cross-build for OSX under Linux. I wondered if it would be then feasible > to port build debian so it could be then debootstrapped for being chroot'ed > into under OSX?
There are no _technical_ reasons it couldn't be done -- either using glibc (like kfreebsd) or Apple's libc (like illumos). On the other hand, there are significant legal reasons not to. > Or is there a better/cleaner way to chrooting here? That osxcross tool you linked to compiles against Apple's libraries. Thus, it's not meant for chrooting but for running programs side-by-side with OSX stuff. > Do you see any major show stoppers? Yes, osxcross depends on Xcode whose license is thoroughly non-free and non-distributable. You're not even allowed to install it on a "non-Apple-branded computer", which makes cross-compiling legally rather pointless. Sure, it looks like osxcross guys do breach that license, but it's not feasible for the Debian project to do so. You and me as individuals can choose to disobey unjust laws, the Debian project can't. Meow! -- A tit a day keeps the vet away.