本文介绍了有关HP aC ++或Sun Studio C ++的经验吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个项目考虑不同的平台和编译器。

任何人都有HP-UX上的HP aC ++经验(正面或负面)?

似乎相当标准,因为它支持Boost 1.34,但

我想听听你的意见。 Solaris上的Sun Studio的C ++

编译器也有同样的问题。

我从

在HP-UX上运行g ++并不是特别有效,但在Solaris上显然g ++

工作得相当好(至少版本3.x附带

it。


任何与b
可以分享的标准一致性或效率相关的经验都会有所帮助。 TIA。


干杯! --M

I''m considering different platforms and compilers for a project.
Anyone have experience (positive or negative) with HP aC++ on HP-UX?
It seems fairly standard compliant since it supports Boost 1.34, but
I''d like to hear from you all. Same question for Sun Studio''s C++
compiler on Solaris.

I gather from http://hpux.cs.utah.edu/hppd/answers/4-4.html that
running g++ on HP-UX is not particularly efficient, but apparently g++
on Solaris works reasonably well (at least version 3.x that comes with
it) .

Any experiences related to standard conformance or efficiency that you
could share would be helpful. TIA.

Cheers! --M

推荐答案



看起来你把卡放在马前。如果两个平台都有gcc和互斥的本机编译器,那么选择是哪个平台而不是哪个编译器?


-

Ian Collins。

It looks like you are putting the card before the horse. If both
platforms have both gcc and mutually exclusive native compilers, surely
the choice is one of which platform rather than which compiler?

--
Ian Collins.




很抱歉这么迂腐,但我认为表达方式是把马放在马前或马车,就像骑马一样购物车。


-

Daniel Pitts的'科技博客:< http://virtualinfinity.net/wordpress/>

Sorry to be so pedantic, but I think the expression is "putting the cart
before the horse", as in a horse-drawn cart.

--
Daniel Pitts'' Tech Blog: <http://virtualinfinity.net/wordpress/>




看起来你把卡放在马前。如果两个平台都有gcc和互斥的本机编译器,那么选择是哪个平台而不是哪个编译器呢?


It looks like you are putting the card before the horse. If both
platforms have both gcc and mutually exclusive native compilers, surely
the choice is one of which platform rather than which compiler?



我认为,问题是相互关联的。我们必须将

质量的开发工具作为整个平台的一个组成部分进行评估,并使用该信息来帮助确定哪个平台是

最合适。


此外,我们有一些现有的gcc代码可以移植,并且

而我不介意将代码更改为使它更符合标准,

我想避免使它不那么合规(因而不那么便携)

只是为了解决本机编译器的特性问题。


干杯! --M

As I see it, the questions are interrelated. We must evaluate the
quality of development tools as an integral part of the platform as a
whole and use that information to help determine which platform is
most suitable.

Moreover, we have some existing gcc code that may be ported over, and
while I don''t mind changing code to make it more standard compliant,
I''d like to avoid making it less compliant (and thus less portable)
just to work around a native compiler''s idiosyncrasies.

Cheers! --M


这篇关于有关HP aC ++或Sun Studio C ++的经验吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 10:46