1833758 Members
3197 Online
110063 Solutions
New Discussion

C++

 
Piyush
Occasional Contributor

C++

Can anyone please confirm whether HP -UX 10.2 comes with C++ compiler or I have to buy it.
6 REPLIES 6
Rick Garland
Honored Contributor

Re: C++

It is a purchased product that comes on the app CDs but you have to pay to get a codeword to unlock
Kofi ARTHIABAH
Honored Contributor

Re: C++

It comes with a C compiler but not a c++ compiler. you will have to download gcc (free) from the software porting centre.

http://eigen.ee.ualberta.ca/hppd/hpux/Gnu/gcc-2.95.2/

good luck
nothing wrong with me that a few lines of code cannot fix!
Robert Gamble
Respected Contributor

Re: C++

C++ is a separate package from the OS that must be purchased. (As well as C/ANSI)
Scott D. Allen
Regular Advisor

Re: C++

You can get the Gnu C/C++ compiler for free at...

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-2.95.2

--Scott
"Sometimes the devil you know is better than the devil you don't know."
Robert Gamble
Respected Contributor

Re: C++

HP aC++ Compiler for Servers
Product # B6256DA.
Version A.01.21 is the most current for HP-UX 10.X
(Note the Runtime is free and availiable as a patch, see software.hp.com)

see: http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_name=aC%2B%2B&group_image=cat_featured.gif&group_type=family
Anthony Goonetilleke
Esteemed Contributor

Re: C++

Actually the C compiler that comes with the OS is a very cut down kernel compiler.
You will need to purchase
aCC (Ansi C++ compiler)
CC (HP C++ compiler)
ansic (Ansi C compiler)

or use the gnu gcc compiler that everone has pointed to. From memory I think HP is or has already stopped support for the CC (HP C++ compiler and is only supporting the aCC the Ansi C++ compiler
Minimum effort maximum output!