by FlowerPower · 15y ago · 0 comments
Without GCC to compile the kernel and all the other tools, there would be no kernel. A free open source compiler which has existed for decades now, and its competition, Clang, is it even stable yet?
And, seeing as Clang is the default compiler in Xcode 4, and can also build FreeBSD[1], yes, I believe it's stable.
[1] http://www.freebsd.org/news/status/report-2010-04-2010-06.ht...
It is stable though. Linux is just a hard target...
Probably some more reasons too...
-regparm changes the calling convention, so the first arguments must be stored in registers instead of the stack
-softfloat uses library functions to emulate floating point operations instead of the FPU
Yes. Clang can compile the kernel. From http://clang.llvm.org/:
Clang is considered to be a production quality C, Objective-C, C++ and Objective-C++ compiler when targeting X86-32, X86-64, and ARM