且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何制作可启动程序?

更新时间:2023-12-05 23:24:34

对于您的程序,除了启动它之外,它不依赖任何操作系统服务.如果要另外进行输入或输出,则几乎可以肯定要依靠操作系统来执行I/O.

In the case of your program, it does not rely on any operating system services other than getting it started. If it were to additionally do input or output, it would almost certainly rely on the operating system to perform the i/o.

如果您想用自己的代码替换操作系统,则可以这样做.存在简约的操作系统和程序加载器.但是,是的,您有很多东西要学习.

If you want to replace the operating system with your own code, then you could well do it. Minimalistic operating systems and program loaders exist. But yes, you have a lot to learn.