kolibrios/programs/other/kpack/linux/build.sh
ashmew2 7d2d9814de Fix building kpack on x86_64 linuxes
git-svn-id: svn://kolibrios.org@6896 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-14 13:00:06 +00:00

9 lines
261 B
Bash
Executable File

#!/bin/bash
# This script does for linux the same as build.bat for DOS,
# it compiles the kpack program, hopefully ;-)
fasm -m 16384 kpack.asm kpack.o
gcc -m32 -s -nostdlib -march=i386 kpack.o -o kpack -lc
strip -R .comment -R .gnu.version kpack
rm -f kpack.o