1753654 Members
5512 Online
108798 Solutions
New Discussion юеВ

HP C compiler

 
SOLVED
Go to solution
yc_2
Regular Advisor

HP C compiler

Hi,

(1) Is HP C compiler (not ANSI C compiler)comes free with HP-UX 11.00.

(2) If so, where can I get it. I have Jun 2002 application CDs but not able to find it.


Thanks in advance,
YC
7 REPLIES 7
Bill Hassell
Honored Contributor

Re: HP C compiler

The C compiler comes free with all versions of HP-UX. It is the K&R compiler and is used to create new kenels as well as any programs that do not ANSI-C constructs. The program is located at /usr/bin/cc.


Bill Hassell, sysadmin
Michael Tully
Honored Contributor

Re: HP C compiler

A cut down compiler comes with the OS. It is very useless in reality. It is not the ANSI/C compiler your talking about. This product does not come free. If you have a license you can load it from your applications CD provided you have the appropriate codeword. You could of course obtain a GCC version from the porting centre.

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.3.1/
or
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.3.2/
Anyone for a Mutiny ?
yc_2
Regular Advisor

Re: HP C compiler

I need a C compiler for Oracle purpose. Does GNU C supports Oracle ?
Lee Huei
Regular Advisor

Re: HP C compiler

The old K&R C compiler /usr/ccs/bin/cc is still bundled with the operating system in the OS-Core product's C-KRN fileset. This mostly applied for hpuc 10.X

Compilers that can be purchased include ANSI C, C++, Pascal, FORTRAN, and Cobol.

You can check the bundled compiler with the command below:
# what /usr/ccs/bin/cc

Both HP ANSI C ( ACC ) & GNU C (gcc)compiler work with Oracle
T G Manikandan
Honored Contributor

Re: HP C compiler

The software is licensed.


you will need a codeword to find and install the software.

It comes with the CD which has all development tools.

you have to check http://licensing.hp.com
to obtain the codeword for installation.

Pls revert
T G Manikandan
Honored Contributor

Re: HP C compiler

The 2002 application CD's would have the old version.
Get the latest from
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3899BA
H.Merijn Brand (procura
Honored Contributor
Solution

Re: HP C compiler

Yes, GNU gcc can be used with Oracle. I've not tested Oracle 9 myself, because I don't have it.

Recent gcc binary builds can also be fetched from my ITRC site: https://www.beepz.com/personal/merijn/, http://www.cmve.net/~merijn/, or http://ww.hpux.ws/merijn/

/fun
Enjoy, Have FUN! H.Merijn