Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling with cc on hp-ux 11.0

 
Highlighted
New Member

Compiling with cc on hp-ux 11.0

I have some c++ programs (.h/.cpp/Makefile) I would like to compile. Our system(hp11.0) has only a CC (ansi) compiler. I prefer not to install extra packages. Is it possible to do this ? Please give me the steps to start with this proces. I have attached the Makefile (origine Linux)
4 REPLIES 4
Highlighted
Honored Contributor

Re: Compiling with cc on hp-ux 11.0

Hello,

You can't compile a C++ program with Ansi C compiler. You can download and install GCC for 11.0,

http://mirrors.develooper.com/hpux/downloads.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Highlighted
Honored Contributor

Re: Compiling with cc on hp-ux 11.0

Hi,
the HP supported and official product is aC++ which is a chargeable product.

Evaluation copy at:
http://h20293.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=B3913DBEVAL&jumpid=reg_R1002_USEN

Product Code:
B3913DB
Highlighted
Honored Contributor

Re: Compiling with cc on hp-ux 11.0

And even for GNU, you need a package that also includes g++ (the GNU gcc C++ compiler)

Also available on my site

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Highlighted
New Member

Re: Compiling with cc on hp-ux 11.0

ok , will try with these solutions