Operating System - HP-UX
1837952 Members
3051 Online
110124 Solutions
New Discussion

Re: C compiler as standard on HPUX 11i ??

 
Simon R Wootton
Regular Advisor

C compiler as standard on HPUX 11i ??

Can someone tell me if there's a C compiler as standard with HPUX 11i, and if so, where it is or where I can read up on it ??

Many thanks, help rewarded.
Simon
6 REPLIES 6
Sanjay Kumar Suri
Honored Contributor

Re: C compiler as standard on HPUX 11i ??

Check this link:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=261888

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
KapilRaj
Honored Contributor

Re: C compiler as standard on HPUX 11i ??

i think the executable name is "cc" or "aCC". If u r looking to compile a product like apache or so u may install gnucc (gcc) it is free.

Kaps
Nothing is impossible
Sanjay Kumar Suri
Honored Contributor

Re: C compiler as standard on HPUX 11i ??

whereis cc

cc: /usr/bin/cc /usr/ccs/bin/cc


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Mark Grant
Honored Contributor

Re: C compiler as standard on HPUX 11i ??

Yes there is but it's a bit rubbish. It is an old K&R compliant compiler and does not support the ansi standard.

You need to either buy a proper one off of HP or use "gcc" instead which you freely available over the net.
Never preceed any demonstration with anything more predictive than "watch this"
YoungHwan, Ko
Valued Contributor

Re: C compiler as standard on HPUX 11i ??

At HP-UX, C compiler is called C/ANSI C.
And C++ is aC++.
To use this product,
You must be purchase the license. And register at the website http://licensing.hp.com to get the codewode.
Install the C/ANSI C with Application CD.
(swinstall-action-add codeword=>Write codeword=>select the C/ANSI C for S800).

For use compiler for free, you can use the gcc compiler.
You can obtain the software at
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
Manish Srivastava
Trusted Contributor

Re: C compiler as standard on HPUX 11i ??

Hi,

There is a bundel cc which comes along with the OS depot. It is a non-ANSI compiler.
The other compiler is a product which needs to be baught which can be seen at:software.hp.com.

The manpage has all the docmentation which is required from the users prespective but if you need more information then there are ample material on the web. One such link is:
http://www.informatik.uni-frankfurt.de/doc/man/hpux/cc.1.html

manish