Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: carlson@decc.enet.dec.com (Tom Carlson)
Subject: Re: cc & DECladebug: bug or feature?
Date: 1995/04/25	[thread overview]
Message-ID: <3nj25l$r2a@jac.zko.dec.com> (raw)
In-Reply-To: 3naktb$2hq@ibch10.inf.tu-dresden.de


> I don't know the version of our compilers, I don't even
> know how to get to know them ;-)

Matthias,

The best way to get version of the DEC C compiler (aka 
"cc -migrate") is to generate a source listing and look 
at the banner.
 > cc -migrate -source_listing foo.c
 > grep "DEC C" foo.lis
       Source Listing   25-Apr-1995 10:48:14   DEC C V4.2-002     
                                               ^^^^^^^^^^^^^^  
(line edited for clarity)
 
I'm not an authority on the acc ("cc") compiler, but I 
believe the best way to get its version number is to 
generate a .o file, and run file on it.
 > kikkin> grep "DEC C" foo.lis
       Source Listing   25-Apr-1995 10:48:14   DEC C V4.2-002     
                                               ^^^^^^^^^^^^^^   
> cc -c foo.c -o foo.o
> file foo.o
foo.o:  COFF format alpha executable or object module not stripped
 - version 3.11-8
   ^^^^^^^^^^^^^^
(line wrapped for clarity)


Tom

--

Thomas Carlson,   DEC C/ DEC C++     carlson@decc.enet.dec.com
Digital Equipment Corporation,  ZK2-3/N30           
110 Spitbrook Rd,
Nashua, NH  03062



      parent reply	other threads:[~1995-04-25  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3n5v8v$q90@ibch10.inf.tu-dresden.de>
1995-04-21  4:00 ` cc & DECladebug: bug or feature? Dennis Murphy
     [not found] ` <3naktb$2hq@ibch10.inf.tu-dresden.de>
1995-04-24  4:00   ` Dennis Murphy
1995-04-25  4:00   ` Tom Carlson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox