使用 Visual Studio 编译为 16 位(适用于 ms-dos)
这可能吗?如果是的话,怎么样? 如果没有,您推荐哪个编译器允许这样做?
谢谢!
Is this possible? If it is, how?
And if not, which compiler that does allow that do you recommend?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我似乎记得 Visual C 1.52c 是最后一个生成 16 位代码的版本。
从那时起,桥下就积了很多水。
您可能仍然可以从 Borland 博物馆 购买 Turbo Pascal 3 或 Turbo C 2 - 我不知道不在乎他们是否称自己为 Inprise 或 Enchilada 或其他什么,对于那些使用和喜爱他们产品的人来说,他们永远是 Borland :-)
我不确定 DJGPP(基于 gcc)是否会生成 16位代码。我依稀记得它带有一个 DOS 扩展器,这可能意味着它生成 32 位代码。我可能错了。您可能还想研究一下称为egcs(凭记忆)的东西。
您还可以查看 OpenWatcom,他们似乎支持 16 位 DOS。当时,Watcom 与 Borland 一样是一个受人尊敬的名字。
I seem to remember that Visual C 1.52c was the last version that would generate 16-bit code.
There's been quite a bit of water under the bridge since then.
You can probably still pick up Turbo Pascal 3 or Turbo C 2 from the Borland museum - I don't care whether they call themselves Inprise or Enchilada or whatever, they will always be Borland to those who used and loved their products :-)
I'm not sure if DJGPP (based on gcc) will generate 16-bit code. I vaguely recall it comes with a DOS extender which may mean it generates 32-bit code. I may be wrong. There was also something called egcs (from memory) that you may want to look into.
You can also check out OpenWatcom, they appear to do 16-bit DOS among others. Watcom was a respected name alongside Borland back in the day.