Get the gcc.Version for this version of GCC
Get the gcc.Version that this plugin was compiled with
Typically the above will be equal (the plugin-loading mechanism currently checks for this, and won’t load the plugin otherwise).
On my machine, running this currently gives:
gcc.Version(basever='4.6.0', datestamp='20110321', devphase='Red Hat 4.6.0-0.15', revision='', ...)
Information on the version of GCC being run. The various fields are accessible by name and by index.
(string) On my machine, this has value:
'4.6.0'
(string) On my machine, this has value:
'20110321'
(string) On my machine, this has value:
'Red Hat 4.6.0-0.15'
(string) On my machine, this is the empty string
(string) On my machine, this has value:
'../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux'
Internally, this is a wrapper around a struct plugin_gcc_version