kolibrios-fun/programs/develop/backy/make_gcc.bat
Magomed Kostoev (mkostoevr) 733e326d0a Rewrite Backy to compile with GCC.
git-svn-id: svn://kolibrios.org@7927 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 11:58:21 +00:00

4 lines
402 B
Batchfile

gcc -m32 -c -fomit-frame-pointer -IC:\Users\Boppan\Documents\KolibriOS\contrib/sdk/sources/newlib/libc/include Backy.c -o Backy.o -Wall -Wextra
kos32-ld Backy.o -o Backy.gcc -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 Backy.gcc -O binary
@pause