[klibc] sample sleep command killed

maximilian attems max at stro.at
Thu Jul 15 06:20:21 PDT 2010


On Thu, Jul 15, 2010 at 12:02:15PM +0200, maximilian attems wrote:
> 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)
# uncomplete, forgot to get back in ~/src
cd ..
> 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