blob: 6268cd8ad497297e8cebc33a3eb9c1d5cf11890b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
@echo off
SET THEFILE=htmlbuilder.exe
echo Linking %THEFILE%
C:\lazarus\fpc\2.6.0\bin\i386-win32\ld.exe -b pei-i386 -m i386pe --gc-sections -s --subsystem windows --entry=_WinMainCRTStartup -o htmlbuilder.exe link.res
if errorlevel 1 goto linkend
C:\lazarus\fpc\2.6.0\bin\i386-win32\postw32.exe --subsystem gui --input htmlbuilder.exe --stack 16777216
if errorlevel 1 goto linkend
goto end
:asmend
echo An error occured while assembling %THEFILE%
goto end
:linkend
echo An error occured while linking %THEFILE%
:end
|