From: Robert vd Boon Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting the GCC version Date: 17 Sep 1998 11:54:07 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 19 Message-ID: <6tqt8v$lef$1@star.cs.vu.nl> References: <6tnk2o$7vm$5 AT news2 DOT saix DOT net> NNTP-Posting-Host: sloep102.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) Originator: rjvdboon AT sloep102 DOT cs DOT vu DOT nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rylan wrote: > I am wondering - is there a command line switch I can call GCC with that > will identify the GCC version - I think I still have an older one and I just > want to check if this so - I then want to go to 2.8.1 if I am behind - how > can I check my current GCC's version? gcc --version or use gcc -v while compiling, you will see the version-no's from all programs invoked. (gcc, cpp, cc1, as, ld) You could also look in the info files of gcc, you will find this option described, or look in your manifest dir, in *.ver are the version numbers. have fun! Robert. -- rjvdboon AT cs DOT vu DOT nl | "En dat is niet waar!" sprak ex-Staatsecretaris- www.cs.vu.nl/~rjvdboon | van-Onderwijs Netelenbos fel.