2010-12-13 19:34:44 +01:00
|
|
|
#!/bin/bash
|
|
|
|
# This script does for linux the same as build.bat for DOS,
|
2017-05-14 15:00:06 +02:00
|
|
|
# it compiles the kpack program, hopefully ;-)
|
2010-12-13 19:34:44 +01:00
|
|
|
|
2013-06-02 07:26:24 +02:00
|
|
|
fasm -m 16384 kpack.asm kpack.o
|
2017-05-14 15:00:06 +02:00
|
|
|
gcc -m32 -s -nostdlib -march=i386 kpack.o -o kpack -lc
|
2013-06-02 07:26:24 +02:00
|
|
|
strip -R .comment -R .gnu.version kpack
|
2017-05-14 15:00:06 +02:00
|
|
|
rm -f kpack.o
|