kolibrios/programs/fs/unimg/make_gcc.bat
Kirill Lipatov (Leency) c5ceb21ce1 unimg: cross compiling, revert back deleted functionality
git-svn-id: svn://kolibrios.org@7869 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-05 21:14:05 +00:00

7 lines
457 B
Batchfile

@echo #define COMPILLER TCC > compiller.h
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
@del compiller.h
@pause