kolibrios/contrib/C_Layer/libguic_kolibri/make_boardmsg.sh
Serhii Sakhno f236be83bc small change, add build shell script
git-svn-id: svn://kolibrios.org@6415 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-02 19:36:37 +00:00

11 lines
657 B
Bash
Executable File

#Please set up kolibrios sources here : /home/<username>/kolibrios
kos32-gcc -c -I${HOME}/kolibrios/contrib/sdk/sources/newlib/libc/include -g -U_Win32 -U_WIN32 -U__MINGW32__ boardmsg.c -o boardmsg.o
fasm loadboxlib.asm loadboxlib.obj
kos32-ld *.o *.obj -T${HOME}/kolibrios/contrib/sdk/sources/newlib/libc/app.lds -nostdlib -static --image-base 0 -lgcc -L/home/autobuild/tools/win32/mingw32/lib /home/autobuild/tools/win32/lib/libdll.a /home/autobuild/tools/win32/lib/libapp.a /home/autobuild/tools/win32/lib/libc.dll.a -static -o boardxmsg -Map=boardxmsg.map
objcopy -O binary boardxmsg
echo "If everything went well, boardxmsg should be your binary!"