kolibrios-gitea/programs/other/kpack/linux/build.sh
Marat Zakiyanov (Mario79) 585e2cd30a Kpack for Linux - all sources only assembler, GCC using for linking
git-svn-id: svn://kolibrios.org@1718 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-12-13 18:34:44 +00:00

13 lines
243 B
Bash
Executable File

#!/bin/bash
# This script does for linux the same as build.bat for DOS,
# it compiles the KoOS kernel, hopefully ;-)
fasm -m 16384 kpack.asm kpack.o
gcc -s -nostdlib kpack.o -o kpack -lc
strip -R .comment -R .gnu.version kpack
exit 0