是否可以从头开始创建 Mac OS X 安装程序?
当我使用关键字“开源”搜索时,我看到了页面
http://www.opensource.apple.com/release/mac-os-x-1064/
我只是想问是否可以使用源代码构建整个操作系统? 如果是,那么到底需要做什么。
I saw page when I was Searching with the key word "Open source"
http://www.opensource.apple.com/release/mac-os-x-1064/
I just want to ask whether it is possible to build a entire OS using the source code ?
and if yes then what exactly needs to be done.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不完全是。 OS X 由许多部分组成:
只有内核和部分 UNIX 层是开源的。如果你需要一个可以工作的 GUI,你需要安装 X 服务器和 Gnome 或 KDE 或其他什么。曾经有过这样的发行版,但不再积极维护。
Not quite. OS X consists of many parts:
Only the kernel and a part of UNIX layer is open-sourced. If you need to have a working GUI, you need to put X server and Gnome or KDE or whatever. There used to be such a distribution, but it's no longer actively maintained.
是的,这是可能的。这正是苹果确实构建了它的Mac OS X。但是,Mac OS X不是开源,因此您无法获取其源代码来构建它。 Apple 仅发布其操作系统的某些部分,您可以从中构建的内容称为 达尔文。
Yes it is possible. That is exactly what Apple does to build its Mac OS X. However, Mac OS X is not open source so you can not get its source code in order to build it. Apple releases only some parts of their OS and what you can build from it is called Darwin.
不,你不能。操作系统内核是闭源的,没有内核就无法创建一个可工作的操作系统。
No, you can't. The OS kernel is closed-source and you can't make a working OS without a kernel.