[fpc-devel] rfc: win32/win64 buildscript

J. Gareth Moreton gareth at moreton-family.com
Tue Dec 11 12:37:50 CET 2018


 I'll give it a whirl when I next build FPC, since I play with win32 and
win64 optimisations quite a bit.  Thanks Marco.

 Gareth aka. Kit

 On Tue 11/12/18 11:57 , Marco van de Voort fpc at pascalprogramming.org sent:

 Hello, 

 Because I got a new (Ryzen 5 2600) machine, last night I worked on 
 improving my buildscript a bit.   It is the script that I run after a 
 SVN update to rebuild and install a snapshot. 

 This mail is both meant as its publishing as a request for comment from 
 people that maintain their own scripts. Since my ISP doesn't allow to 
 attach .cmd's, I put it on my website: 

 http://www.stack.nl/%7Emarcov/files/buildscript.zip
[1]">http://www.stack.nl/~marcov/files/buildscript.zip 

 The script allows building for win32 and win64, and has several 
 parameterizable options, configurable  by editing batch variables in the 
 script, and warns if a step (build or install) went wrong. 

 I use two copies of this, one for win32 and one for win64. (one line 
 difference). Please read over the first half to check variables. 

 It assumes a FPC directory (with tools like make etc) in the %PATH%, but 
 allows to use the starting compiler to be specified explicitely.  This 
 is so that it works when I have a development snapshot in the path, but 
 still want to start the build using the release compiler. 

 Also attached is a small FPC program used to measure buildtime. 

 Again: comments welcome. 

 _______________________________________________ 
 fpc-devel maillist - fpc-devel at lists.freepascal.org [2] 
 http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[3]">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel 

 

Links:
------
[1] http://www.stack.nl/%7Emarcov/files/buildscript.zip
[2] mailto:fpc-devel at lists.freepascal.org
[3] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181211/8f277878/attachment.html>


More information about the fpc-devel mailing list