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

Tom Goodale goodale at cct.lsu.edu
Thu Jun 16 04:53:16 CDT 2005


Looks good;  please put 'as detected at configure time' in the first 
comment too.

Tom

On Thu, 16 Jun 2005, Thomas Radke wrote:

> Tom Goodale wrote:
>>> I just thought storing the compiler version close to the compiler flags 
>>> would be most convenient.
>> 
>> 
>> True, so how about putting it in as a set of comments above the appropriate 
>> compiler flags in the make.code.defn, in a format like above. This would 
>> provide the information with no ambiguity as to what it means.
>
> Very good. That's what I get know in a make.config.defn when configuring with 
> CC=icc CXX=icpc F90=ifort:
>
>  CFLAGS      = -restrict
>  CXXFLAGS    = -restrict
>  F90FLAGS    = -align -w95
>  F77FLAGS    = -align -w95
>  CPPFLAGS    =
>  FPPFLAGS    = -traditional
>
>  C_LINE_DIRECTIVES = no
>  F_LINE_DIRECTIVES = no
>
>  # Compiler versions
>  # CC:  Intel(R) C Compiler for 32-bit applications, Version 8.1 Build 
> 20050406Z Package ID: <installpackageid>
>  # CXX: Intel(R) C++ Compiler for 32-bit applications, Version 8.1 Build 
> 20050406Z Package ID: <installpackageid>
>  # F77:
>  # F90: Intel(R) Fortran Compiler for 32-bit applications, Version 8.1 
> Build 20050406Z Package ID: <installpackageid>
>
>
> I'll put that in now.
>
>
>



More information about the Developers mailing list