Fix building kpack on x86_64 linuxes

git-svn-id: svn://kolibrios.org@6896 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2017-05-14 13:00:06 +00:00
parent 1145071b4e
commit 7d2d9814de
2 changed files with 7 additions and 7 deletions

View File

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

View File

@ -0,0 +1,4 @@
You should really be using the kpack program instead of kerpack.
It also builds nicely on Linux.
kpack can be found in $SVN/programs/other/kpack