Is it possible to compile Linux kernel with something other than gcc

前端 未结 10 555
刺人心
刺人心 2020-12-25 14:17

I wonder if someone managed to compile the Linux kernel with some other compiler than gcc. Or if someone have ever tried? Question may seem to be silly or academic, but it a

10条回答
  •  醉酒成梦
    2020-12-25 14:27

    My non-technical guess: The Linux Kernel can't currently (2009) be compiled with any compiler other than the GNU compiler, gcc.

    I say this on the basis that I've heard Richard Stallman, with some conviction, say Linux should be called GNU/Linux because the kernel is "only 1 part of the operating system" and I'm guessing he would not be able to say this if the kernel was non-dependant on GNU (e.g. a tonne of embedded devices run a Linux OS without any GNU software).

    As I said, just a guess, let me know if I'm wrong...

提交回复
热议问题