This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: version
- From: Nix <nix at esperi dot demon dot co dot uk>
- To: <dzucchini at mail dot ev1 dot net>
- Cc: <gcc at gnu dot org>
- Date: 03 Sep 2002 22:05:23 +0100
- Subject: Re: version
- References: <200209021702.AA287703212@mail.ev1.net>
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