Recent

Author Topic: Build a fresh FPC and Lazarus everyday.  (Read 7277 times)

stocki

  • Full Member
  • ***
  • Posts: 144
Re: Build a fresh FPC and Lazarus everyday.
« Reply #15 on: December 01, 2015, 11:55:56 am »
Indeed. The script is intended only for power users and not for normal programmers. I need the latest fpc and laz trunk version. A normal app dev needs a stable version. That's correct.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Build a fresh FPC and Lazarus everyday.
« Reply #16 on: February 07, 2016, 12:58:02 pm »
Note that you might want to document which FPC binary dirs you have in the %PATH% on startup, since it seems to grab just the default "fpc" binary. (I assume it is FPC 3.0.0 release)

Maybe showing fpc -iV on startup?

P.s. If you use FPC 3.0.0 you can strip the -dwin9xplatform, since that would be pointless.

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Build a fresh FPC and Lazarus everyday.
« Reply #17 on: February 07, 2016, 01:55:26 pm »
You may want to add the same as I do in my script:
svn.exe up
FOR /F "usebackq delims==M" %%i IN (`svnversion -n`) DO set REVSTR=%%i

(That will give you a revision number...)

and add REVINC=force OPT='-dREVINC'

As demonstrated here:
https://onedrive.live.com/redir?resid=29724258F577D4D7%21198

NO laz there. It is forbidden. ;)
« Last Edit: February 07, 2016, 01:57:31 pm by Thaddy »
Specialize a type, not a var.

 

TinyPortal © 2005-2018