[Developers] Patch: store the version of C/C++/Fortran compilers

Thomas Radke tradke at aei.mpg.de
Wed Jun 15 08:42:36 CDT 2005


Tom Goodale wrote:
> 
> Hi,
> 
> while this may be useful, it could be misleading, as if the version of 
> the compiler changes on disk after the configuration is created, these 
> version numbers would be wrong.
> 
> One possibly better solution would be to put commands which could 
> determine the version of the compilers into the make.config.defn file, 
> and then we could run them at compile time and store the info somewhere.

The important thing is to store a configuration's flags along with the 
version of the compiler that's been used to create them. So saving the 
compiler version at compile time could be misleading. It also sounds 
like overkill to me.

Compilers don't change that often, and if so, people should do a new 
configure anyway - the flags might have changed.


-- 
Cheers, Thomas.



More information about the Developers mailing list