kolibrios/programs/develop/SPEDump/make.bat
Kirill Lipatov (Leency) db5bb5377d upload Stripped PE Dumper by 0CodErr, see http://board.kolibrios.org/viewtopic.php?f=9&t=3742&p=71045&hilit=SPEDump#p71045
git-svn-id: svn://kolibrios.org@9006 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 08:23:46 +00:00

18 lines
379 B
Batchfile

Set NAME=SPEDump
: KOLIBRIOS_PAS - path to KolibriOS.pas
Set KOLIBRIOS_PAS=
: KOLIBRIOS_LIB - path to KolibriOS.lib
Set KOLIBRIOS_LIB=
dcc32 -J -U%KOLIBRIOS_PAS% %NAME%.pas
omf2d %NAME%.obj
link -edit %NAME%.obj
LD -T LScript.x %NAME%.obj -o %NAME%.kex -L %KOLIBRIOS_LIB% -l KolibriOS
objcopy -O binary -j .all %NAME%.kex
Del %NAME%.obj
Del %NAME%.dcu
Pause