kolibrios/programs/fs/unimg/make.bat
Magomed Kostoev (mkostoevr) fa23477ae5 Rewrite unimg to compile with GCC (-60% of size).
git-svn-id: svn://kolibrios.org@7868 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-05 18:38:41 +00:00

4 lines
394 B
Batchfile

gcc -m32 -c -fomit-frame-pointer -IC:\Users\Boppan\Documents\KolibriOS\contrib/sdk/sources/newlib/libc/include fat12.c -o unimg.o -Wall -Wextra
kos32-ld unimg.o -o unimg -static -S -nostdlib -T C:\Users\Boppan\Documents\KolibriOS\contrib/sdk/sources/newlib/app.lds --image-base 0 -L "C:\Program Files (x86)\kos32-msys-5.4.0\win32\lib" -lgcc -lapp -lc.dll
kos32-objcopy unimg -O binary
@pause