mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-18 04:43:06 +03:00
f23fc38433
git-svn-id: svn://kolibrios.org@616 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
558 B
Batchfile
21 lines
558 B
Batchfile
@echo off
|
|
|
|
set FPRTL={path to original freepascal rtl source code, example ... \fp\src\rtl}
|
|
set INCS=-Fi%FPRTL%\inc;%FPRTL%\i386;%FPRTL%\objpas;%FPRTL%\objpas\sysutils;%FPRTL%\objpas\classes
|
|
set UNTS=-Fu%FPRTL%\inc;%FPRTL%\i386;%FPRTL%\objpas
|
|
set FPCARGS=-Twin32 -Se5 -Sg -n -O3pPENTIUM3 -CfSSE -di386 -FU..\units %INCS% %UNTS%
|
|
|
|
fpc system.pp -Us %FPCARGS%
|
|
if errorlevel 1 goto error
|
|
|
|
fpc %FPRTL%\objpas\objpas.pp %FPCARGS%
|
|
if errorlevel 1 goto error
|
|
|
|
fpc buildrtl.pp %FPCARGS%
|
|
if errorlevel 0 goto end
|
|
|
|
:error
|
|
echo An error occured while building RTL
|
|
|
|
:end
|