适用于DOS程序的最佳C ++编译器 [英] Best C++ compiler for DOS programs

查看:204
本文介绍了适用于DOS程序的最佳C ++编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须开发几个大而复杂的C ++硬件测试程序,它们应该在DOS下工作,很可能是32位DOS扩展器。开发

工作站操作系统将是Microsoft XP。很久以前我在DOS下工作,与Borland BC ++ 4.1一起工作
。我不再拥有它了。你会选择哪个编译器?
现在推荐我?哪些支持严肃的DOS程序开发?

标准应该是可用的免费库模块数量(图形菜单

系统,鼠标驱动程序,I / O),易于开发,价格(可能是免费的?),

当前和未来的支持。如果编译后的程序可以在DOS窗口下工作,那么至少对于一些早期的测试来说,那也没关系。


到目前为止我发现了免费的Watcom,Digital Mars和DJGPP编译器

http://www.digitalmars。 com /
http://www.openwatcom。 org / index.php / Main_Page
http:// www。 delorie.com/djgpp/


这些或其他免费编译器中哪一个最好?商业

编译器怎么样?他们是否值得DOS开发的钱?你会给我什么?
推荐我?


史蒂夫。

解决方案

>哪个或其他免费编译器最好?商业

编译器怎么样?他们是否值得DOS开发的钱?你会给我推荐什么?

史蒂夫。




我不确定,但我认为这个小组不是,并且不应该,推荐

编译器。


如果可以,你应该尝试所有这些,并且只有你确切知道你的

标准是。


问候,

Ben


Steve写道:

http://www.delorie.com/djgpp/
这些或其他免费编译器中哪一个最好?商业
编译器怎么样?他们是否值得DOS开发的钱?你会推荐我什么?




我使用DJGPP(IDE - RHIDE afair),很不错。

- -

Wymiana starych uk ?? ad?3w ... na nowe uk ?? ady - prawie jak walka z korupcja。

Walka z wychowaniem seksualnym i erotyk ?? - prawie jak walka z patologi ??。

PiS - prawie jak prawo我sprawiedliwo ???? ... Prawie。 Prawie robi r?3 ?? nic ??。

我的?? l。 G ?? osuj rozs ?? dnie。聂娜tanie有?? a。 //拉法? Maj Raf256




" Steve" <圣** @ nospam.com>在留言中写道

新闻:e2 ********** @ news.eunet.yu ...

我要开发几个大而复杂的C ++
应该在DOS下工作,很可能是32位DOS扩展器。
工作站操作系统将是Microsoft XP
哪些支持严格的DOS程序开发?
当前和未来的支持。
到目前为止,我找到了免费的Watcom,Digital Mars和DJGPP编译器

http://www.digitalmars.com/
http://www.openwatcom.org/index.php/Main_Page
http://www.delorie.com/djgpp/



我已将DJGPP v2.03和OW 1.3用于C中的个人程序(不是C ++)for

DOS。 DJGPP仅支持DOS。 OW中的DOS支持很强(几乎是微软克隆的b $ b),但似乎几乎不活跃。主要的支持团队和

贡献者似乎更关心OS / 2,WxWidgets,STL,以及最近的
FreeBSD和Linux等... DJGPP有''感觉GCC并且有一些POSIX

支持,但没有使用GLIBC。 DJGPP产生比OW更好的警告,

但是OW编译得更快并且生成了更快的代码。 OpenWatcom作为1.3美元的b $ b(它们现在高达1.5)没有POSIX支持,而且与DJGPP的完整性相比,IMO有点粗略

。但是,我已经读过一些可能已修复的OW1.3问题,比如为DOS添加长文件名



至于XP,我记得看到XP for DJGPP的一些问题。我不知道

他们是否已经解决。关于DJGPP的未来或方向,很难从

Delorie获取信息。但是,似乎他或者是b $ b正在开发XP支持。我试图让他对使用/移植

GLIBC感兴趣,但他宣称这是不可能的。下一个版本的

DJGPP,Beta v2.04,已经试用了3到4年......

您还可以查看这些DOS编译器:


DiceRTE
http://www.diefer .de / dicerte /

David Lindauer的CC386
http://members.tripod.com/~ladsoft/cc386.htm

DiceRTE还没有'' t发布了所有的源代码(即主编译器DCC32和他称之为内核的
DPMI主机)并且我没有看到任何更新。大部分

的文档都是德文版。几年前CC386在库中有一些错误

。这些可能已经修复了。似乎Lindauer

仍在更新编译器。


如果你不需要DOS支持,还有许多其他Windows编译器:

Cygwin,Mingw,LCC-Win32,Pelles C,TenDRA(哎呀,那是Linux ......)如果你需要支持多个环境,那么OW就是其中之一很少支持

很多。

Rod Pemberton


I have to develop several large and complex C++ hardware test programs that
should work under DOS, most likely with 32-bit DOS extender. Development
workstation OS would be Microsoft XP. Quite some time ago I worked in DOS,
with Borland BC++ 4.1. I do not have it any more. Which compiler would you
recommend me now? Which ones support serious DOS program development?
Criterion should be number of available free library modules (graphic menu
system, mouse driver, I/O), ease of development, price (maybe free?),
current and future support. If compiled program can work in DOS window under
XP, at least for some early testing, that would be fine also.

So far I have found free Watcom, Digital Mars and DJGPP compilers

http://www.digitalmars.com/
http://www.openwatcom.org/index.php/Main_Page
http://www.delorie.com/djgpp/

Which one of these, or other free compilers, is best? What about commercial
compilers? Are they worth the money for DOS development? What would you
recommend me?

Steve.

解决方案

> Which one of these, or other free compilers, is best? What about commercial

compilers? Are they worth the money for DOS development? What would you
recommend me?

Steve.



I am not sure but I think this group doesn''t, and shouldn''t, recommend
compilers.

You should try them all if you can, and only you knows exactly what your
criteria are.

Regards,
Ben


Steve wrote:

http://www.delorie.com/djgpp/
Which one of these, or other free compilers, is best? What about commercial
compilers? Are they worth the money for DOS development? What would you
recommend me?



I used DJGPP (with IDE - RHIDE afair), it was nice.
--
Wymiana starych uk??ad?3w... na nowe uk??ady - prawie jak walka z korupcja.
Walka z wychowaniem seksualnym i erotyk?? - prawie jak walka z patologi??.
PiS - prawie jak prawo i sprawiedliwo????... Prawie. Prawie robi r?3??nic??.
My??l. G??osuj rozs??dnie. Nie na tanie has??a. // Rafa?? Maj Raf256



"Steve" <St**@nospam.com> wrote in message
news:e2**********@news.eunet.yu...

I have to develop several large and complex C++ should work under DOS, most likely with 32-bit DOS extender. workstation OS would be Microsoft XP Which ones support serious DOS program development?
current and future support. So far I have found free Watcom, Digital Mars and DJGPP compilers

http://www.digitalmars.com/
http://www.openwatcom.org/index.php/Main_Page
http://www.delorie.com/djgpp/


I''ve used DJGPP v2.03 and OW 1.3 for personal programs in C (not C++) for
DOS. DJGPP only supports DOS. DOS support in OW is strong (almost
Microsoft clone) but seems to be almost inactive. The main support team and
contributors seem more concerned with OS/2, WxWidgets, STL, and lately
FreeBSD and Linux, etc... DJGPP has the ''feel'' of GCC and has some POSIX
support but doesn''t used GLIBC. DJGPP generates better warnings than OW,
but OW compiles much faster and generates _much_ faster code. OpenWatcom as
of 1.3 (they are upto 1.5 now) has no POSIX support and IMO was a bit rough
when compared to the completeness of DJGPP. However, I''ve read that some of
the OW1.3 problems have supposedly been fixed, like adding long filenames
for DOS.

As for XP, I recall seeing some problems with XP for DJGPP. I don''t know
whether they have been resolved or not. It''s hard to get information from
Delorie on the future of or direction of DJGPP. But, it seems that he is or
was working on XP support. I tried to get him interested in using/porting
GLIBC, but he declared it to be out of the question. The next version of
DJGPP, Beta v2.04, has been Beta for 3 to 4 years...
You could also look at these DOS compilers:

DiceRTE
http://www.diefer.de/dicerte/

David Lindauer''s CC386
http://members.tripod.com/~ladsoft/cc386.htm

DiceRTE hasn''t released all the sources (i.e., main compiler DCC32 and his
DPMI host which he calls the "kernel") and I haven''t seen any updates. Most
of the documentation is in German. CC386, a few years ago, had some errors
in the libraries. These have probably been fixed by now. It seems Lindauer
is still updating the compiler.

If you don''t need DOS support, there are many other compilers for Windows:
Cygwin, Mingw, LCC-Win32, Pelles C, TenDRA(Oops, that''s Linux...) If you
need support for multiple environments, OW is one of the few that support
many.
Rod Pemberton


这篇关于适用于DOS程序的最佳C ++编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆