Operating System - HP-UX
1831647 Members
2085 Online
110029 Solutions
New Discussion

where can I find C++ Compiler on HPUX

 
SOLVED
Go to solution
Abdul Majeed Lardhi
Regular Advisor

where can I find C++ Compiler on HPUX

I have B3901BA bundle from HP (B.11.11.06 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800))

And I compile a lost of programs using cc and make , but now I need to compile c++ code. DO I have to install another bundle from HP for c++ or I use the same Ansi compile with specific options ????

Regards
Abdul Majeed
10 REPLIES 10
Jeff Schussele
Honored Contributor
Solution

Re: where can I find C++ Compiler on HPUX

Hi Abdul Majeed,

You can use B3913DB - available here for servers:

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3913DB

And B3911DB available here for workstations:

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3911DB

HTH,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Fred Ruffet
Honored Contributor

Re: where can I find C++ Compiler on HPUX

AFAIK, cc will compile C++ as well as C.

You can also use gcc :
http://mirrors.develooper.com/hpux/

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Victor BERRIDGE
Honored Contributor

Re: where can I find C++ Compiler on HPUX

HP other C compiler is called:
HP aC++ compiler, the product is B3913DB For S800

All the best
Victor
Abdul Majeed Lardhi
Regular Advisor

Re: where can I find C++ Compiler on HPUX

Hi all

the error we are getting from the Oracle Application generation is "sh: aCC:not foun"
this means it need "aC++" complier !!!

But Fred Ruffet said that we can use ansi/c "cc" to compile c++ but how ??

Regards
Abdul Majeed
Fred Ruffet
Honored Contributor

Re: where can I find C++ Compiler on HPUX

I said I *believe* cc can compile C++, but I need a confirmation.

aCC is probably given as the compiler in Makefile. But that doesn't mean you should change it : program may be created for this compiler and may not compile or run with another.

What is this program you are trying to compile ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
A. Clay Stephenson
Acclaimed Contributor

Re: where can I find C++ Compiler on HPUX

Fred is wrong. The ANSI/C compiler will compile ANSI C and K & R C. It does not speak C++. aCC speaks C++ and ANSI C (but will not compile K & R C).

Your other option is the Gnu compiler which is free and can be downloaded from any of the HP-UX Porting Centre's.
If it ain't broke, I can fix that.
Victor BERRIDGE
Honored Contributor

Re: where can I find C++ Compiler on HPUX

Install the HP aC++ Compiler
Version A.03.15 on the server. This version of the compiler is a patch to the base release A.03.
13, obtain this from HP.

All the best
Victor
Abdul Majeed Lardhi
Regular Advisor

Re: where can I find C++ Compiler on HPUX

Hi All

Fred belive's same as my belive before :)

Currentlly we are installing and customizing ERP Oracle fininacil package which require a set of compilation

GNU ( gcc ) it is a free compile but is it a fully compatibale with aCC ???

Regards
Abdul Majeed
Victor BERRIDGE
Honored Contributor

Re: where can I find C++ Compiler on HPUX

Hi Abdul,
We have given gcc a try but problem arises you get from oracle a We only support what has been certified by us and so we have installed B3913DB HP aC++ Compiler, I mentionned the patch version because it was an answer of oracle when we said why do you require such product and no say so when you buy it (I mean since when do you buy a product then learn it requires to be installed other components that are not free... because I call that robbery...)
But then oracle say its a HP problem that in fact with the patch they mentionned it should work etc... We have been trough relinking and not finding the libraries etc... and opted to acquire aC++ and End the debate...

All the best
Victor
Abdul Majeed Lardhi
Regular Advisor

Re: where can I find C++ Compiler on HPUX


Thanks Vicotr for the clarification :)

Regards
Abdul Majeed