Operating System - HP-UX
1752613 Members
4582 Online
108788 Solutions
New Discussion юеВ

Re: How to find the installed compiler in HPUX 11.11

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to find the installed compiler in HPUX 11.11

Hi All,

I am new to HP-UX.

My team lead asked me that what is the compiler has been installed (like C / C++ / COBOL) in one of hpux server (HPUX 11.11).

I used below command to find the compiler

# swlist -l product | grep -i compiler
C-ANSI-C B.11.11.04 HP C/ANSI C Compiler
CPS B.11.00 Compiler Parallel Support Library



So as per above output the C compiler has been installed, am i correct?





21 REPLIES 21
Pete Randall
Outstanding Contributor
Solution

Re: How to find the installed compiler in HPUX 11.11

Yes.

You should probably be aware that there is a stripped down, basic version of the C compiler installed on every HP-UX system. It is intended to compile the kernel and is not much good for anything else.

You, however, have the full-blown ANSI-C compiler, so that's a good thing.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How to find the installed compiler in HPUX 11.11

Hi:

> So as per above output the C compiler has been installed, am i correct?

Yes.

Regards!

...JRF...
senthil_kumar_1
Super Advisor

Re: How to find the installed compiler in HPUX 11.11

Can i install the same "C-ANSI-C B.11.11.04 HP C/ANSI C Compiler" in HPUX 11i V3?

Is it possible?

If not, which version of "ANSI-C Compiler" supports HPUX 11i v3?



Pete Randall
Outstanding Contributor

Re: How to find the installed compiler in HPUX 11.11

I believe you will need to get a version specific to 11iV3. Check here:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How to find the installed compiler in HPUX 11.11

Hi (again):

Can i install the same "C-ANSI-C B.11.11.04 HP C/ANSI C Compiler" in HPUX 11i V3?

No you cannot. A much newer bundle gives you both C and C++. The link Pete offered is correct.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: How to find the installed compiler in HPUX 11.11

You have an old version of C installed, Dec 2001. For the current version see:
http://www.hp.com/go/c

>Can I install the same "C-ANSI-C B.11.11.04 HP C/ANSI C Compiler" in HP-UX 11i V3? Is it possible?

It might be possible but it wouldn't be supported.
Is your 11.31 system PA or Integrity?

senthil_kumar_1
Super Advisor

Re: How to find the installed compiler in HPUX 11.11

It is a guest OS of Integrity VM.
Dennis Handly
Acclaimed Contributor

Re: How to find the installed compiler in HPUX 11.11

>It is a guest OS of Integrity VM.

So it is Integrity.
You can't install an obsolete PA compiler on Integrity.
senthil_kumar_1
Super Advisor

Re: How to find the installed compiler in HPUX 11.11

Hi All,

I have installed guest OS (HPUX 11.31) on Integrity VM.

I need to install ANSI-C compiler for that OS.

I checked if ANSI-C compiler is already installed?

# swlist -l product | grep -i compile
COMPLIBS B.11.31 Compiler Support Libraries
PHCO_36769 1.0 linker/compiler English manpages
PHCO_37027 1.0 linker/compiler Japanese patch



where we can download the ANSI-C compiler as depot from?