This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc version number from autotools
- From: Bob Rossi <bob_rossi at cox dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Dec 2006 10:01:42 -0500
- Subject: gcc version number from autotools
Hi,
What's the best way to get the gcc version number from an autotools
project? I could start gcc and parse the output. Could I write a small
program that checks some #define that has gcc's version number?
If so, how far back does that work for?
Thanks,
Bob Rossi