Re: Question on multiple compiler environment
- From: Tim Prince <timothyprince@xxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 13:31:11 GMT
beliavsky@xxxxxxx wrote:
The Fortran standard says nothing about such> How does one embed the version
details, which therefore differ across compilers.
number of a compiler in executables generated by it?As you said, this varies by compiler. Some do it by default, others have a peculiar option for this.
I have also wondered how to embed information about the source code inPerhaps you refer to the practice which was common at one time of initializing a character string such as SCCSID.
the executable. Currently I define a parameter NVERSION in my main
program and have a line at the beginning
write (*,*) "version #",NVERSION
This method relies on my changing NVERSION manually and on saving old
source codes. I know there exist source control systems such as RCS,
but can one use them to automatically embed version information in an
executable?
.
- References:
- Question on multiple compiler environment
- From: Matthias Möller
- Re: Question on multiple compiler environment
- From: Arjen Markus
- Re: Question on multiple compiler environment
- From: Matthias Möller
- Re: Question on multiple compiler environment
- From: beliavsky
- Question on multiple compiler environment
- Prev by Date: Re: Error in opening the Library module file
- Next by Date: Re: Question on multiple compiler environment
- Previous by thread: Re: Question on multiple compiler environment
- Next by thread: Re: Question on multiple compiler environment
- Index(es):
Relevant Pages
|
|