Thanks Rob I think that should do it for me.




________________________________
 From: Rob Landley <r...@landley.net>
To: Andreas Färber <afaer...@suse.de> 
Cc: Herbei Dacian <dacian_her...@yahoo.fr>; QEmu Devel <qemu-devel@nongnu.org> 
Sent: Friday, 16 August 2013, 17:59
Subject: Re: [Qemu-devel] minimal linux distribution for qemu
 

On 08/15/2013 06:53:30 AM, Andreas Färber wrote:
> Hi,
> 
> Am 15.08.2013 10:57, schrieb Herbei Dacian:
> >
> > please, can anyone recommend me a distribution that offers a  
> barebone
> > linux kernel.
> > minimum that I need on that image are:
> > _ the kernel
> > _ the compiler and development infrastructure to build it
> 
> Aboriginal Linux.
> 
> Andreas

Aboriginal actually comes with qemu launch scripts for each target.  
./run-emulator.sh is just the qemu command line, ./dev-environment.sh  
is a wrappe around that providing a better development enviornment  
(more memory and disk space). It's all described at  
http://landley.net/aboriginal/about.html

Try this:

   wget http://landley.net/aboriginal/bin/system-image-armv5l.tar.bz2
   tar xvjf system-image-armv5l.tar.bz2
   cd system-image.armv5l
   ./run-emulator.sh

   gcc /usr/src/thread-hello2.c -lpthread
   ./a.out
   exit

Thanks,

Rob

Reply via email to