DOS32 的编译器?

发布于 2024-08-14 02:15:39 字数 42 浏览 3 评论 0原文

在哪里可以获得 MS-DOS 的 BASIC 和 C/C++ 编译器?

Where can I get BASIC and C/C++ Compilers for MS-DOS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

似最初 2024-08-21 02:15:40

使用 DJGPP(最好的 C++ 支持,LFN)或 OpenWatcom(多平台,也支持 16 位)不会出错。对于 BASIC,请尝试 FreeBASIC(它使用 DJGPP 的 libc、汇编器、链接器,但有自己的编译器前端)。 http://www.freebasic.net

You can't go wrong with DJGPP (best C++ support, LFNs) or OpenWatcom (multi-platform, also supports 16-bit). For BASIC, try FreeBASIC (which uses DJGPP's libc, assembler, linker but has its own compiler frontend). http://www.freebasic.net

把梦留给海 2024-08-21 02:15:39

有用于 C/C++ 的 DJGPP。

http://www.delorie.com/djgpp/

There's DJGPP for C/C++.

http://www.delorie.com/djgpp/

盛夏已如深秋| 2024-08-21 02:15:39

免费(尽管不一定是开源)针对 MS-DOS 的编译器(通常为 32 位,但有些也可能仍针对 16 位):

如果单独使用 C(不支持 C++) )对你来说很有趣,还有这些(老实说,我不知道这些东西在编译现代源代码的现代系统上工作得有多好 - 实际上,我已经很久没有在 DOS 中或为 DOS 做过任何我不知道的事情了上述 3 个编译器在 MS-DOS 上的工作效果如何)

Free (though not necessarily open source) Compilers that target MS-DOS (generally 32-bit but some may also still target 16-bit):

If C alone (without C++ support) is interesting to you, there's also these (I honestly have no idea how well these things might work on modern systems compiling modern source code - actually it's been so long since I've done anything in or for DOS that I don't know how well the 3 compilers above work for MS-DOS either)

-黛色若梦 2024-08-21 02:15:39

Turbo C 可以编译c/c++

Turbo C can compile c/c++

心如荒岛 2024-08-21 02:15:39

http://www.digitalmars.com/ 曾经是 Zortech,最初的 32 位平面内存模型 DOS编译器。

您还可以在 cygwin 或 mingw 下使用 GCC。
最后一个构建 DOS 可执行文件的 MSVC 是 IIRC 1.52,如果您有 MSDN,可以免费下载。

http://www.digitalmars.com/ is what was once Zortech, the original 32bit flat memory model DOS compiler.

You can also use GCC either under cygwin or mingw.
The last MSVC to build DOS executables was IIRC 1.52 it's a free download if you have MSDN.

我不会写诗 2024-08-21 02:15:39

如果您使用的是 Windows 95 或更高版本,则可以使用 Cygwin 版本的 gcc。但它不会给你一个基本的编译器。

If you're on Windows 95 or later you can use the Cygwin version of gcc. It won't give you a basic compiler though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文