ppas.bat 494 B

1234567891011121314
  1. @echo off
  2. SET THEFILE=ManageArrays.exe
  3. echo Linking %THEFILE%
  4. D:\Lazarus\fpc\bin\i386-win32\ld.exe -b pei-i386 -m i386pe --gc-sections --entry=_mainCRTStartup -o ManageArrays.exe link.res
  5. if errorlevel 1 goto linkend
  6. D:\Lazarus\fpc\bin\i386-win32\postw32.exe --subsystem console --input ManageArrays.exe --stack 16777216
  7. if errorlevel 1 goto linkend
  8. goto end
  9. :asmend
  10. echo An error occurred while assembling %THEFILE%
  11. goto end
  12. :linkend
  13. echo An error occurred while linking %THEFILE%
  14. :end