[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9104.0. "How to check software version?" by REQUE::CHOI (Yung Choi (ZKO2-2/R80 DTN:381-2295)) Tue Mar 11 1997 08:19

Hi,

    How can I get the version number of installed softwares on Digital UNIX?
    DEC C compiler installed on my machine is OSFDECC350.

    Any help will be appreciated.  Thank you.			- Yung
T.RTitleUserPersonal
Name
DateLines
9104.1setld -iGREGOR::OPPTue Mar 11 1997 08:506
    Try:	setld -i
    
      to see a list of the installed subsets.
    
    Greg
    
9104.2OSFDECC350 - What is DEC C version?REQUE::CHOIYung Choi (ZKO2-2/R80 DTN:381-2295)Tue Mar 11 1997 11:2112
RE:.1;


>>  Try:	setld -i

    setld -i shows, for an example, OSFDECC350.

    Is 350 the version number of DEC C compiler?
    Or is it same as the OS version, since it is
    included in the Operating System?

    Thank you.				- Yung
9104.3Read the man pagesNETRIX::"[email protected]"Brian HaleyTue Mar 11 1997 11:229
Hi,

Please read the man pages on a command, it might just have a flag to
print what you want.  For example, both cc and ld have -V to print
their versions.  Not all commands have this option though, but the man
page would cover that.

-Brian
[Posted by WWW Notes gateway]
9104.4DECCXL::MARIOTue Mar 11 1997 11:4816
For the UNIX V3.* releases, the DECC compiler was packaged in its own subset
called OSFDECC3xx.  The only sure way to get the compiler version of a DECC
compiler from that vintage is to generate a source listing file and get the
version from the first line of the listing.   

The command "cc foo.c -source_listing" will produce a foo.lis listing file.

As of UNIX V4.0, you can get the DECC version either by typing 
"cc -V |head" or "/usr/lib/cmplrs/cc/gemc_cc -V".  These are in addition
to the source listing file method.

The OSFDECC3xx subset should not be installed on any V4.* system.

Joe

 
9104.5Thank you, it works...REQUE::CHOIYung Choi (ZKO2-2/R80 DTN:381-2295)Tue Mar 11 1997 13:300
9104.6ident??TRLIAN::GORDONWed Mar 12 1997 09:441