1753675 Members
5238 Online
108799 Solutions
New Discussion юеВ

compilers for HPUX

 
SOLVED
Go to solution
tiyyagura sunil reddy
Occasional Contributor

compilers for HPUX

hi,

I would like to know if there are any other commercially available c/c++ compilers for HPUX other than provided by HPUX itself.

Thanks in advance
sunil
9 REPLIES 9
H.Merijn Brand (procura
Honored Contributor
Solution

Re: compilers for HPUX

Non commercial GNU gcc is a full ANSI compliant C, C++ compiler and widely available for HP-UX, amongst which on my pages

My HP ITRC site pages can be found at

Singapore https://www.beepz.com/personal/merijn/
Rotterdam http://www.cmve.net/~merijn/
Seattle http://ww.hpux.ws/merijn/

and on HP's porting center:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.3.2/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Colin Topliss
Esteemed Contributor

Re: compilers for HPUX

GCC is the way to go in my opinion. I use that over the HP compiler whenever I can.

On top of GCC though, you'll need GNU make (rather than depend on the make that gets shipped with HP-UX). The HP version of make is not compatible with GCC, and will cause you all sorts of weird errors.

Col.
A. Clay Stephenson
Acclaimed Contributor

Re: compilers for HPUX

The free compiler that comes with HP-UX is referred to as the Bundled compiler. It speaks only K&R C and is really only intended for building kernels. HP also offers HP ANSI C amd aCC. The ANSI C compiler does K & R C and ANSI C. aCC does ANSI C and C++. Neither of these is free.

Gnu C is also an option but my experience has been that the optimizer is not nearly as good as with the HP compilers. If execution speed is of great concern the I would use the HP compilers. On the other hand, not that many UNIX processes are CPU bound so it may make no real difference.
If it ain't broke, I can fix that.
Sanjiv Sharma_1
Honored Contributor

Re: compilers for HPUX

Hi Sunil,

GNU gcc compiler is the most extensively used compiler for HP-UX.

You can get it from:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.3.2/

hth.
Everything is possible
tiyyagura sunil reddy
Occasional Contributor

Re: compilers for HPUX

Hi all,

Thanks for ur time in answering my question. I would like to make the question a bit clearer. I wanted to ask whether there are any commercially available c compilers for HPUX other than Provided by HPUX and GNU.

Thanks in advance
sunil
Sanjiv Sharma_1
Honored Contributor

Re: compilers for HPUX

Just for curiosity.

What are you looking for a priced compiler when you are a free one available?

I have not yet come across any till now.
Everything is possible
Mark Anderson_6
Occasional Advisor

Re: compilers for HPUX

There used to be the KAI compiler, which was supposedly quite good and very ANSI compliant (I believe the KAI team was responsible for most of the pre-processor core that's used by many ANSI compilers, including GCC). KAI was purchased by Intel a few years ago, and I think they pretty much killed off all the non-x86 compilers (but I could be wrong). www.kai.com redirects to Intel now, but perhaps someone at Intel could give you more information.

I have to imagine there are others out there, built with an eye toward optimization for scientific problems, but I wouldn't be surprised if they're all dead by now... :(
Duraid Madina
Occasional Contributor

Re: compilers for HPUX

If you want a commercial-grade compiler, you could get Comeau Computing ( http://www.comeaucomputing.com/ ) to port their compiler to HP-UX for you, but that is quite expensive (between $5000 and $50000, see http://www.comeaucomputing.com/custom.html )

This would get you an excellent C++ compiler (superior even to GCC and aCC in terms of language support and compliance) and quite good performance, since the Comeau compiler uses a native C compiler as a back-end. So, if you asked Comeau to support HP ANSI C as the back-end, performance would be very good, but you would lose a few C++-specific optimizations.

Personally, I'd love to see Comeau's compiler on HP-UX 11.23...!
Dennis Handly
Acclaimed Contributor

Re: compilers for HP-UX

>I would like to know if there are any other commercially available C/C++ compilers for HP-UX

 

None that I know of.  There isn't likely enough money in it.  Nor can they beat HP's compilers for performance.

 

>I'd love to see Comeau's compiler on HP-UX 11.23

 

Comeau is based on EDG and that's what aCC6 is based on.