Linux内核如何编译自己? [英] How can the Linux kernel compile itself?

查看:132
本文介绍了Linux内核如何编译自己?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不太懂Linux内核的编译过程,当我安装
在Linux系统我的机器上。

I don't quite understand the compiling process of the Linux kernel when I install a Linux system on my machine.

下面有一些事情我弄糊涂了:

Here are some things that confused me:


  1. 内核是用C写的,但是怎么内核得到没有编译器编译安装?

  2. 如果是安装在我的机器上的C编译器内核编译之前,怎么能编译器本身会被编译没有安装编译?

我是几天很困惑,感谢您的答复。

I was so confused for a couple of days, thanks for the response.

推荐答案

第一轮二进制文件你的Linux机器的是建立在一些其他的Linux机器(可能)。

The first round of binaries for your Linux box were built on some other Linux box (probably).

第一个Linux系统的二进制文件是建立在一定的其他的平台。

The binaries for the first Linux system were built on some other platform.

该计算机的二进制文件可以追踪他们的根回到那个建在又一个原系统的其他的平台。

The binaries for that computer can trace their root back to an original system that was built on yet another platform.

...

按下此远远不够,你会发现更原始的工具内置的编译器,这是又建立在比他们的主机其他机器。

Push this far enough, and you find compilers built with more primitive tools, which were in turn built on machines other than their host.

...

请推,你会发现建立,使他们的指示可以通过输入计算机的在机器的前面板上设置的开关

Keep pushing and you find computers built so that their instructions could be entered by setting switches on the front panel of the machine.

非常酷的东西。

规则是建建建工具,工具的工具......。非常喜欢它运行我们的物理环境的工具。也被称为拉自己了由白手起家。

The rule is "build the tools to build the tools to build the tools...". Very much like the tools which run our physical environment. Also known as "pulling yourself up by the bootstraps".

这篇关于Linux内核如何编译自己?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆