1825730 Members
2660 Online
109687 Solutions
New Discussion

C Version

 
SOLVED
Go to solution
aky
Occasional Contributor

C Version

hi,
How can I check the HP ANSI c version ?

Regards
akhila
2 REPLIES 2
Rajeev  Shukla
Honored Contributor
Solution

Re: C Version

swlist should give you that
if not sure then try "what" command on the file like
#what /usr/bin/cc (or what ever the compiler is
A. Clay Stephenson
Acclaimed Contributor

Re: C Version

Execute swlist
or
create a small c source file, play.c:
int main()
{
return(0);
}

cc -V play.c

-V will print the version number of the components. Man cc for details.
If it ain't broke, I can fix that.