This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: version


On Mon, 2 Sep 2002, Dzu Nguyen stipulated:
> My school is using gcc on their digital unix system.  I was 
> curious to know, how I can check the version of gcc.
> 
> For example to check the version in perl, I type in 'perl -v'; if 
> I wanted to check windows/ms-dos version, I type in 'ver'.
> 
> Is there a command line option to check for the version for gcc?

gcc -dumpversion.

(This really belongs on gcc-help...)

-- 
`Mips are real and bitrate earnest, shifting spam is not our goal;
 silicon to sand returnest, was not spoken of the soul.'
   --- _Eventful History: Version 1.x_, John M. Ford


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]