Operating System - HP-UX
1824996 Members
2245 Online
109678 Solutions
New Discussion юеВ

C compiler on HP-UX 10.20

 
SOLVED
Go to solution
Bert Verhoeven
Occasional Advisor

C compiler on HP-UX 10.20

How can I find out which C compiler is installed on HP-UX 10.20. (ansi C ?)


4 REPLIES 4
Christopher Caldwell
Honored Contributor
Solution

Re: C compiler on HP-UX 10.20

what /opt/ansic/bin/cc

and/or

swlist | more

look for C/ANSI C
Corthouts Carlo
Valued Contributor

Re: C compiler on HP-UX 10.20

Hello,

First of all if you want to know if you have
ANSI C installed on your system or if you are using the ansi c compiler, do a "which cc" and
check from which directory it is started.

If it is started from /usr/bin/cc then you probably are just using the standard cc compiler which comes with the system for kernel compilation.
To be sure do a "ll /usr/bin/cc" and check
where the symbolic link leads to.

To know if ansi c is installed on the system check the /opt directory of do a "swlist -l product | grep -i ansi".
Vijeesh CTK
Trusted Contributor

Re: C compiler on HP-UX 10.20


hi,

do an swlist and check it..

Vijeesh CTK
Bert Verhoeven
Occasional Advisor

Re: C compiler on HP-UX 10.20

Thank you guys

You all have been helpful.