[fpc-devel] revision.inc
Marco van de Voort
marcov at stack.nl
Sat Nov 13 13:17:49 CET 2010
In our previous episode, Dimitrios Chr. Ioannidis said:
> > http://www.stack.nl/~marcov/buildfaq/#toc-Section-2.4
> >
> > and then specially
> >
> > http://www.stack.nl/~marcov/buildfaq/#toc-Subsection-2.4.2
>
> Thx, but this wasn't the problem.
(it is about avoid exporting all together)
> The problem was that it doesn't exists a svnversion executable in
> TortoiseSVN. I had to look at the makefile in compiler dir to find out
> that i needed a svnversion executable for this to work. So i downloaded
> the CollabNet command line tools.
That require registration, I use these:
https://sourceforge.net/projects/win32svn/
> So, i updated my tree. Got inside the compiler dir and run 'make
> revision FPC={some path}\ppc386.exe'.
> Unfortunattely the revision.inc is still has 'exported' in it and the
> 'ppc386.exe -iW' gives me '2.5.1-rexported'.
> Running 'svnversion' i got '16332'.
>
> In the {fpc svn dir}\compiler\Makefile at the 363, there is :
> 'SVNVERSION:=$(wildcard $(addsuffix /svnversion$(SRCEXEEXT),$(SEARCHPATH)))'
>
> As i'm not familiar with the Makefile files, any help is much
> appreciated ...
Is that binary in the path? If not you have to pass it:
make revision SVNVERSION="c:\Program Files
(x86)\Subversion\bin\svnversion.exe"
I'll see if I can add some about this in the next buildfaq.
More information about the fpc-devel
mailing list