Hi,
I download today's snapshot of FPC/Win32 and encountered problem linkind the final .exe file, seems that bug is in ppas.bat file...
Is the second like OK??
Regards, Pavel Kanzelsberger
@echo off
--include -O coff -o pixel.owr pixres.res
if errorlevel 1 goto linkend
SET THEFILE=pixel.exe
echo Linking %THEFILE%
c:\fpc\bin\win32\ldw.exe --subsystem windows -b base.$$$ -o pixel.exe link.res
if errorlevel 1 goto linkend
c:\fpc\bin\win32\dlltool.exe -S c:\fpc\bin\win32\asw.exe -D pixel.exe -e exp.$$$ -b base.$$$ -d pixel.def
if errorlevel 1 goto linkend
c:\fpc\bin\win32\ldw.exe --subsystem windows -o pixel.exe link.res exp.$$$
if errorlevel 1 goto linkend
c:\fpc\bin\win32\postw32.exe --subsystem gui --input pixel.exe --stack 65536 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
