Einzelnen Beitrag anzeigen

ralfstocker
(Gast)

n/a Beiträge
 
#2

AW: FPC 3.0.2 Release - Liste der gefixten/geschlossenen Issues

  Alt 18. Feb 2017, 17:44
und so holt man sich jeden Tag eine frische FPC/Laz Installation:
Code:
@echo on

:: Build a fresh FPC+LAZ from SVN everyday
::   Based on http://www.getlazarus.org/

::prerequisites
:: 1. Internet connection
:: 2. Installed SVN (e.g. Tortoise SVN) from http://tortoisesvn.net/
:: 3. Installed bootstrap compiler FPC 3.0.0 at %BASE%\bootstrap from e.g. ftp://wiki.freepascal.org/pub/fpc/dist/3.0.0/i386-win32/fpc-3.0.0.i386-win32.exe


set BASE=c:\FpDev
set BOOTSTRAP=%BASE%\bootstrap\bin\i386-win32
set NEWCOMPILER=%BASE%\fpc\bin\i386-win32

::---SVN---

cd %BASE%
svn co http://svn.freepascal.org/svn/fpc/trunk fpc
if errorlevel 1 goto failed
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
if errorlevel 1 goto failed

pause

::---FPC---

cd %BASE%
cd fpc
::%BOOTSTRAP%\make clean
%BOOTSTRAP%\make all
if errorlevel 1 goto failed

::---Make install---
%BOOTSTRAP%\make install INSTALL_PREFIX=%BASE%\fpc
if errorlevel 1 goto failed

::---FPC Win64---
::%BOOTSTRAP%\make crossinstall CPU_TARGET=x86_64 OS_TARGET=win64 INSTALL_PREFIX=%BASE%\fpc
::if errorlevel 1 goto failed

::---FPC Lin32---
::%BOOTSTRAP%\make crossinstall CPU_TARGET=i386   OS_TARGET=linux INSTALL_PREFIX=%BASE%\fpc
::if errorlevel 1 goto failed

::---Make cfg---
cd %NEWCOMPILER%
fpcmkcfg -d basepath=%BASE%\fpc -o .\fpc.cfg
if errorlevel 1 goto failed

cd %BASE%
set PATH=%NEWCOMPILER%;%PATH%
::fpc -iV

::---Lazarus---

cd %BASE%
cd lazarus
::%BOOTSTRAP%\make clean
%BOOTSTRAP%\make all
::%BOOTSTRAP%\make bigide OPT="-dWIN9XPLATFORM -gl -gw"
if errorlevel 1 goto failed

call %BASE%\lazarus\startlazarus.exe

::---end---

goto exit

:failed
color 0C
echo ERROR!!!

:exit

pause
  Mit Zitat antworten Zitat