Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用 32 位目标文件的小程序,我希望在 dos 操作系统下运行它。现在,经过搜索,我找到了DJGPP。 有没有办法使用 DJGPP 将我的程序编译为 16Bit dos 可执行格式? 提前致谢
看看这个相关的 Stack Overflow 问题。它可能会有所帮助。
如果您想利用 32 位处理器(386 及以上)在 16 位 DOS 下(使用DPMI)运行 32 位代码,那么 DJGPP 绝对是正确的工具。也就是说,它生成包含 32 位代码的 16 位 dos 可执行文件。对于对象格式,它使用 32 位 COFF。