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

前端 未结 10 530
刺人心
刺人心 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-25 14:41

    Linux explicitly depends on some gcc extensions, so any other compiler must be compatible with the needed extensions, in that case.

    This is not a "no", since it's of course not impossible for a separate compiler vendor/developer to track gcc's extensions, just a data point that might help you search.

提交回复
热议问题