最好的C ++编译器 [英] BEST C++ COMPILER

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

问题描述

哪个是最好的C ++编译器?

解决方案

coinjo写道:

这是哪个最好的C ++编译器可用吗?




种类取决于你的标准。


我使用g ++因为它适用于所有平台我使用(Windows,Linux,

和Mac OS X),它是免费软件。 3.4系列与标准相当符合

。据说4.0系列甚至更好,但我总是对新的主要gcc版本保持警惕。它们总是看起来很奇怪。


Comeau C ++不是免费的,但如果对你很重要的话,它可能是最符合标准的

编译器。如果我有钱,我可能会试试看。移植到许多平台,但我不认为他们有Mac OS X版本,我的软件必须在Mac OS X上运行。


Visual C ++ 7.1也非常兼容,而且速度很快,可以在Windows上生成小的
可执行文件。显然,这不便携。 Visual C ++ 6.0是不是所有的兼容,所以如果我是你,我就不会使用它。我认为现在有一个beta ++

的VC ++ 8。它可能比7.1好,但是我没有使用它。


我认为Borland C ++很糟糕,但我已经只处理5.5。也许他们

显着改进版本6.


英特尔C ++为英特尔处理器生成高度优化的二进制文件。

除非我'错了,它只生产英特尔二进制文件。所以如果你没有为x86系统开发,那么它不是很有用。


那里还有很多其他的编译器,但这些是我知道的b
。我从未使用过Comeau或英特尔,所以我的信息完全来自各自的网站。


所以,回答你的问题,g ++是最好的编译器,对我来说

无论如何。我想我可以在Windows上使用VC 7.1,在Linux上使用Comeau,在OS X上使用g ++

,但如果可能的话,我更喜欢使用一个编译器。我也是

偏爱免费软件。


- John Ratliff


John Ratliff ra?e:

所以,回答你的问题,g ++是最好的编译器,对我来说无论如何。我想我可以在Windows上使用VC 7.1,在Linux上使用Comeau,在OS X上使用g ++
,但如果可能的话,我更喜欢使用一个编译器。我也偏爱免费软件。



还可以建议每个平台上哪种IDE最适合g ++?

我听说过关于KDevelop(我认为它没有在没有

cygwin + qt3 + KDE的情况下在Windows上运行)。还有更好的选择吗?


PS:很抱歉,如果这个问题不适合这个小组。它只是

,有很多关于C ++的小组。此外,我不想要

来开始新的帖子。


paulius-maruska写道:

John Ratliff ra?e:

所以,回答你的问题,g ++是最好的编译器,对我来说无论如何。我想我可以在Windows上使用VC 7.1,在Linux上使用Comeau,在OS X上使用g ++
,但如果可能的话,我更喜欢使用一个编译器。我也偏爱自由软件。



还可以建议每个平台上哪个IDE最适合g ++?
我听说过KDevelop(i我认为它没有在没有
cygwin + qt3 + KDE的情况下在Windows上运行。有没有更好的选择?




你可以试试U ++: http://upp.sf.net


它不仅仅是ide,但你当然可以只使用ide。


它的优势在于编译速度(通过特殊技术,加速调试模式GCC重新编译大型项目4次)和新版本

(下一步)将拥有先进的C ++分析工具......(事物类

层次结构,代码完成,符号信息)。


Mirek


Which is the BEST C++ COMPILER available?

解决方案

coinjo wrote:

Which is the BEST C++ COMPILER available?



Kind of depends upon your criterion.

I use g++ because it works on all the platforms I use (Windows, Linux,
and Mac OS X) and it''s free software. The 3.4 series is fairly compliant
with the standard. The 4.0 series is supposedly even better, but I am
always wary of the new major gcc releases. They always seem bug-riddled.

Comeau C++ is not free, but is supposedly the most standards-compliant
compiler available, if that is important to you. If I had any money, I
would probably try it out. Ported to a number of platforms, but I don''t
think they have a Mac OS X version, and my software has to run on Mac OS X.

Visual C++ 7.1 is also fairly compliant, and is fast and produces small
executables on Windows. It''s not portable, obviously. Visual C++ 6.0 is
not all compliant, so I wouldn''t use it if I were you. There is a beta
of VC++ 8 I think available now. It''s probably better than 7.1, but I
haven''t used it.

I think Borland C++ is awful, but I''ve only dealt with 5.5. Maybe they
significantly improved it for version 6.

Intel C++ produces highly optimized binaries for intel processors.
Unless I''m wrong, it only produces intel binaries though. So it''s not
very helpful if you''re not developing for x86 systems.

There are tons of other compilers out there, but these are the ones I
know about. I''ve never used Comeau or Intel, so my information comes
entirely from their respective websites.

So, to answer your question, g++ is the best compiler available, for me
anyways. I guess I could use VC 7.1 on Windows, Comeau on Linux, and g++
on OS X, but I prefer to stick with one compiler, if possible. I''m also
partial to free software.

--John Ratliff


John Ratliff ra?e:

So, to answer your question, g++ is the best compiler available, for me
anyways. I guess I could use VC 7.1 on Windows, Comeau on Linux, and g++
on OS X, but I prefer to stick with one compiler, if possible. I''m also
partial to free software.


Can also advise what IDE is the best for g++ on each platform?
I heard about KDevelop (i think it doesn''t run on windows without
cygwin + qt3 + KDE though). Are there any better choices?

PS: Sorry if this question is not appropriate for this group. It''s just
that, there are so many groups about C++. And besides, i didn''t wanted
to start new thread.


paulius-maruska wrote:

John Ratliff ra?e:

So, to answer your question, g++ is the best compiler available, for me
anyways. I guess I could use VC 7.1 on Windows, Comeau on Linux, and g++
on OS X, but I prefer to stick with one compiler, if possible. I''m also
partial to free software.



Can also advise what IDE is the best for g++ on each platform?
I heard about KDevelop (i think it doesn''t run on windows without
cygwin + qt3 + KDE though). Are there any better choices?



You can try U++: http://upp.sf.net.

It is more than ide, but you can of course use the ide only.

Its advantage is compilation speed (via special technique, speeds up
debug mode GCC recompilations of large projects 4 times) and new release
(next month) will have advanced C++ analyzing tools... (thing class
hierarchies, code-completion, symbol info).

Mirek


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

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