Re:Xcode now costs US$ 4.99
by mmastrac on Wednesday March 09, 2011 @06:22PM
(#2307133)
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:
Re:Xcode now costs US$ 4.99
by wmf on Wednesday March 09, 2011 @08:10PM
(#2307470)
Who 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...)
Re:Xcode now costs US$ 4.99
by mmastrac on Wednesday March 09, 2011 @08:23PM
(#2307510)
I 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.
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.