kolibrios/programs/fs/unimg/make_gcc.bat
Magomed Kostoev (mkostoevr) dd92e74f77 Make it buildable by both TCC and GCC.
Remove extra readme.txt (all info is in fat12.c)

git-svn-id: svn://kolibrios.org@7882 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-07 09:30:37 +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