3 ms·
The GCC toolchain can link Mach-O binaries without using any code from Apple. Building GCC cross-compilers like this is a pain, but crosstools takes a bit of th
by mmastrac 16y ago
The GCC toolchain can link Mach-O binaries without using any code from Apple. Building GCC cross-compilers like this is a pain, but crosstools takes a bit of that away:
http://www.kegel.com/crosstool/ http://www.kegel.com/crosstool/
Basically, you can generate your own binaries and ship them under the GPL. No Apple needed.
I'll ask for more info from someone I know who built an OSX cross-compiler under Linux.
- wmf 16y agoWho said anything about cross compiling? It sounds like he'd be fine with regular GCC+binutils. (I don't see anything about Mach-O support in the ld manual, though...)
- mmastrac 16y agoI think this would be considered a cross-compiler, even though you are building OSX on OSX. You would be building a version of GCC that targets OSX with a different version of GCC.