[klibc] sample sleep command killed

maximilian attems max at stro.at
Thu Jul 15 03:02:15 PDT 2010

On Wed, Jul 14, 2010 at 07:47:43PM -0400, Phil Howard wrote:
> > axe your wrong built and do it the recommended way.
> Can you put the recommended way into some kind of complete document?

sure, here the quick way. It assumes you have a ~src directory in
your home as common practise. nproc is found in recent coreutils (8.1).

in short words the recommend way is to built klibc against
configured linux-2.6 tree:

cd ~/src
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
cd linux-2.6
make defconfig 
make -j $(nproc)
git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git
cd klibc
make  KLIBCKERNELSRC=`pwd`/../linux-2.6 -j $(nproc)

./usr/utils/static/sleep 0.5

happy hacking.

More information about the klibc mailing list