Operating System - HP-UX
1833866 Members
2522 Online
110063 Solutions
New Discussion

Re: How to install a C compiler on a HP UNIX 11i

 
OSOS
New Member

How to install a C compiler on a HP UNIX 11i

Dear all,
we ve a machine installed HP_ux 11i and we need to install C compiler ... How we can find it? ???

Thank u
3 REPLIES 3
Ranjith_5
Honored Contributor

Re: How to install a C compiler on a HP UNIX 11i

Download it from

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html

see the installation procedure also here only.


regards,
Syam
A. Clay Stephenson
Acclaimed Contributor

Re: How to install a C compiler on a HP UNIX 11i

1. Pay HP some money for either ANSI/C or aCC (ANSI C and C++) compilers.
2. Get CODEWORD
3. Using CODEWORD you can install from any application CD set

Plan B: Install the free Gnu C compiler.
http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/gcc-3.4.3/

The only C compiler installed for free on HP-UX is the bundled c compiler and it is really only intended for building kernels. It can be used for limited development but understands only K&R syntax.
If it ain't broke, I can fix that.
Ted Buis
Honored Contributor

Re: How to install a C compiler on a HP UNIX 11i

Actually, my understanding is that even the built in C compiler is a version of the ANSI C on 11i, just limited in functionality so all it is good for is compiling the kernel. K&R is dead. We should also mention that the optimizer for ANSI C you buy from HP is much better than that on the GNU C compiler.
Mom 6