gpt4 book ai didi

linux - 使用非 gcc 编译 linux 内核

转载 作者:IT王子 更新时间:2023-10-29 00:54:19 27 4
gpt4 key购买 nike

Linux 内核是为使用 gcc 进行编译而编写的,并使用了许多小而丑陋的 gcc-hack。除了gcc,还有哪些编译器可以编译linux内核?

可以的是英特尔编译器。内核编译需要什么最低版本?

还有一个 Tiny C 编译器,但它只能编译经过简化和特别编辑的内核版本。

是否有其他编译器能够构建内核?

最佳答案

一个过时的信息:你需要给内核打补丁才能使用Intel CC编译 Download Linux kernel patch for Intel® Compiler

另见 Is it possible to compile Linux kernel with something other than gcc获取更多链接和信息

关于最近的来源:http://forums.fedoraforum.org/showthread.php?p=1328718

关于linux - 使用非 gcc 编译 linux 内核,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2334220/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com