2016-05-02 21:36:37 +02:00
|
|
|
#Please set up kolibrios sources here : /home/<username>/kolibrios
|
|
|
|
|
2016-06-30 18:10:04 +02:00
|
|
|
kos32-gcc -c -I${HOME}/kolibrios/contrib/sdk/sources/newlib/libc/include -I../../INCLUDE -g -U_Win32 -U_WIN32 -U__MINGW32__ boardmsg.c -o boardmsg.o
|
2016-05-02 21:36:37 +02:00
|
|
|
|
2016-06-30 18:10:04 +02:00
|
|
|
kos32-ld *.o ../../OBJ/loadboxlib.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
|
2016-05-02 21:36:37 +02:00
|
|
|
|
|
|
|
objcopy -O binary boardxmsg
|
|
|
|
|
2016-06-30 18:10:04 +02:00
|
|
|
echo "If everything went well, boardxmsg should be your binary!"
|