The GNU tools are irreplaceable
Posted Oct 25, 2006 16:05 UTC (Wed) by
nix (subscriber, #2304)
In reply to:
The GNU tools are irreplaceable by AJWM
Parent article:
GPLv3: What the Hackers Said (Linux Journal)
It's not that nobody could do it: it's that modifying Linux to be compilable by a compiler not implementing a large subset of the set of C extensions known as GNU C would be sufficiently difficult that nobody would bother.
What happens, instead, is that vendors of other (proprietary) C compilers that run on Linux modify their compilers to support enough of GNU C that they can compile the kernel: and even then it tends to break because the compilers don't necessarily support as many as GCC does, and because kernel hackers tend to build the kernel with GCC, so it gets most of its compilation and run-testing and compiler bug workarounds and so on with GCC in view.
All free-as-in-freedom C compilers remotely capable enough to compile the Linux kernel incorporate large amounts of GCC source anyway (the SGI(?) one whose name I forget and LLVM both use the GCC backends and parts of the middle-end). The non-free ones presumably don't, but they're also not amenable to modification by the kernel hackers.
(
Log in to post comments)