From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,238ec0fb34ba7d88 X-Google-Attributes: gidfee84,public From: carlson@decc.enet.dec.com (Tom Carlson) Subject: Re: cc & DECladebug: bug or feature? Date: 1995/04/25 Message-ID: <3nj25l$r2a@jac.zko.dec.com>#1/1 X-Deja-AN: 101475949 distribution: world sender: carlson@kikkin.zko.dec.com (Tom Carlson) references: <3n5v8v$q90@ibch10.inf.tu-dresden.de> <3naktb$2hq@ibch10.inf.tu-dresden.de> organization: Digital Equipment Corporation keywords: pointers, structures, cc -migrate, reply-to: carlson@decc.enet.dec.com (Tom Carlson) newsgroups: comp.unix.osf.osf1 > 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