它们是带有C标准库的预构建操作系统 [英] Is they a prebuilt OS with C standard library
问题描述
我正在寻找没有GUI且没有CLI的操作系统。 (我认为所谓的)
我所追求的只是一个熊骨操作系统,我可以编写C程序来运行它。我想知道它是否可以完成,如果可以,我应该在哪里看。我只是想制作一个操作系统,但不想经历从头开始构建它的痛苦。
我想要的只是在启动时运行一个程序拥有C标准库,以帮助简化。因为那时我可以自己创建自己的菜单和图形。我想这样做是因为我想了解更多关于操作系统的细节,希望这将是一个有趣的项目。和你的伙伴谈论lol很酷。
我尝试过:
我试过谷歌搜索。所以我问这个问题,因为我不想从头开始构建它
I am look for an OS with no GUI and No CLI. (I think that what is called)
All I am after is a bear bone OS that I can write C programs to run on it. I wanted to know if it could be done and if so where should I look. I just wanted to make an OS but didn’t want to go through the pain of building it from scratch.
All I wanted is to run a program on boot and have the C standard library to help make it easier. Because then I can make my own menu and graphics from they. I wanted to do this because I want to learn more about the ins and outs of an OS and hopefully it will be a fun project. Plus is a cool thing to talk to your mates about lol.
What I have tried:
I have tried googling. So am asking the question because I don’t want to have to build it from scratch
推荐答案
它将在很大程度上取决于你正在使用的硬件:basic操作系统存在,但它们可以理解为针对特定的硬件设置,并且不适用于不同的硬件。
操作系统必须直接与硬件交互,因此它们是需要了解一切。并且C编译器需要专门针对该操作系统,否则无法在其上运行!
我建议你自己做一个Raspberry Pi并看一下FreeDOS:在Raspberry Pi上运行DOS Opensource.com [ ^ ] - 它在一个模拟器中运行,假装是一台基本的PC,但这可以为您提供操作系统的最低端以及您可能需要的支持。
It's going to depend largely on exactly what hardware you are using: "basic OSes" exist, but they are understandably targeted at a specific hardware setup, and will not work for different hardware.
OSes have to interact directly with the hardware, so they need to know all about it. And the C compiler needs to be specifically for that OS, or it can't run on it!
What I'd suggest is that you get yourself a Raspberry Pi and have a look at FreeDOS: Running DOS on the Raspberry Pi | Opensource.com[^] - it runs in an emulator which "Pretends" to be a basic PC, but that gives you pretty much the bottom end of OSes together with the support you might need.
这篇关于它们是带有C标准库的预构建操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!