On 21 Nov 2012, at 15:01, Mark Morgan Lloyd wrote:
Is there some reliable way of getting the SVN revision into the FPC version number or build date, or even into a macro or symbol so that a program can log what revision it was compiled by?
Execute once: touch compiler/revision.incAfterwards, every time you build the compiler it will include the svn revision number in the extended version info.
Jonas
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel