$git clone git://git.qemu-project.org/qemu.git
$cd qemu
$git submodule update --init dtc
* Configure
$ cd qemu
$ mkdir obj
$ cd obj
$ ../configure --target-list=arm-softmmu --python=/usr/bin/python2.7
* Make
$ make
$ su
$ make install
* test qemu
$ emacs test.c
<code>
#include<stdio.h>
int
main(){
printf
(
"Hello World\n"
);
}
</code>
* compile
$
arm-none-linux-gnueabi-gcc test.c -o test
*
check the properties of the output file
$
file test
* execute qemu
$
qemu-system-arm -L ~/arm-none-linux-gnueabi/libc ./test