1834150 Members
2314 Online
110064 Solutions
New Discussion

Re: C Compiler

 
SOLVED
Go to solution
Dave Caruso
New Member

C Compiler

I am in Software Applications Support (medical billing), mostly under SCO Unix. We have a client running HP Unix (HP-UX B.11.00), who needs to compile some code on their server. They have been told they need to purchase a C compiler for HP-UX.
Their System Administrator has left and they are unsure what they need to buy. We don't know enough about HP-UX to advise them. Does anyone out there have any recommendations on a C compiler for their version of HP-UX?
Any information would be greatly appreciated.
Thanks,
Dave
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: C Compiler

It depends on what they need.

There is a basic C compiler that comes with HP-UX.

If they need ANSI/C, then that has to be purchased from HP.

Here is a link to HP's ANSI/C package:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3901BA

Here is a link to HP's aC++ package:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3913DB

GnuC may also be an option, depending on their needs. Here is a link to the Gnu C / C++ package (it is free, by the way):

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

Craig Rants
Honored Contributor

Re: C Compiler

I have used the ANSI/C compiler provided on the HP Apps CD without any problems. If you have the Apps CD then just make the purchase with HP and get your codeword to install it.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Helen French
Honored Contributor

Re: C Compiler

Hi,

You can install the ANSI/C software from the Application CD provided by HP. You have to get the license and codeword from HP inorder to enable the product.

See this for a useful information:

http://www.docs.hp.com/hpux/onlinedocs/5969-4437/5969-4437.html

HTH,
Shiju

Life is a promise, fulfill it!
A. Clay Stephenson
Acclaimed Contributor

Re: C Compiler

Hi Dave:

If you need to compile K&R and ANSI/C then you need the ANSI/C compiler. If you need to compile C++ and ANSI/C then you need the aC++ compiler. Note: aC++ does not speak K&R so it you need K&R C, ANSI/C, and C++ then you need both compilers.

The bundled compiler is mainly intended to build kernels but can be used for very limited K&R compiles. Many of the header files normally needed for development are missing.

Regards, Clay
If it ain't broke, I can fix that.
Dave Caruso
New Member

Re: C Compiler

Thanks, everyone. That's just what I needed. I'll pass on the info to my client.
Dave