From 7d2d9814de686c3bfba4ab7c1a049f3c88755c67 Mon Sep 17 00:00:00 2001 From: ashmew2 Date: Sun, 14 May 2017 13:00:06 +0000 Subject: [PATCH] Fix building kpack on x86_64 linuxes git-svn-id: svn://kolibrios.org@6896 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/kpack/linux/build.sh | 10 +++------- programs/other/outdated/kerpack/trunk/README | 4 ++++ 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 programs/other/outdated/kerpack/trunk/README diff --git a/programs/other/kpack/linux/build.sh b/programs/other/kpack/linux/build.sh index 7677c61d31..18265d247f 100755 --- a/programs/other/kpack/linux/build.sh +++ b/programs/other/kpack/linux/build.sh @@ -1,12 +1,8 @@ #!/bin/bash # 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 -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 -exit 0 - - - - +rm -f kpack.o diff --git a/programs/other/outdated/kerpack/trunk/README b/programs/other/outdated/kerpack/trunk/README new file mode 100644 index 0000000000..88fcba70a5 --- /dev/null +++ b/programs/other/outdated/kerpack/trunk/README @@ -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