mirror of
https://github.com/qemu/qemu.git
synced 2025-10-24 10:31:10 +00:00
Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@248 c046a42c-6fe2-441c-8c8c-71466251a162 |
||
|---|---|---|
| linux-user | ||
| tests | ||
| alpha-dis.c | ||
| alpha.ld | ||
| arm-dis.c | ||
| arm.ld | ||
| Changelog | ||
| configure | ||
| COPYING | ||
| COPYING.LIB | ||
| cpu-all.h | ||
| cpu-arm.h | ||
| cpu-exec.c | ||
| cpu-i386.h | ||
| dis-asm.h | ||
| disas.c | ||
| disas.h | ||
| dyngen-exec.h | ||
| dyngen.c | ||
| dyngen.h | ||
| elf.h | ||
| exec-arm.h | ||
| exec-i386.h | ||
| exec.c | ||
| exec.h | ||
| helper-i386.c | ||
| i386-dis.c | ||
| i386.ld | ||
| ia64-syscall.S | ||
| Makefile | ||
| op_string.h | ||
| op-arm-template.h | ||
| op-arm.c | ||
| op-i386.c | ||
| opreg_template.h | ||
| ops_template.h | ||
| ppc-dis.c | ||
| ppc.ld | ||
| qemu-doc.texi | ||
| README | ||
| README.distrib | ||
| s390.ld | ||
| sparc-dis.c | ||
| sparc.ld | ||
| syscall-arm.h | ||
| syscall-i386.h | ||
| thunk.c | ||
| thunk.h | ||
| TODO | ||
| translate-arm.c | ||
| translate-i386.c | ||
| translate.c | ||
| VERSION | ||
The QEMU x86 emulator
---------------------
INSTALLATION
------------
Type
./configure --interp-prefix=/usr/local/qemu-i386
make
to build qemu and libqemu.a.
Type
make install
to install QEMU in /usr/local/bin
* On x86 you should be able to launch any program by using the
libraries installed on your PC. For example:
./qemu -L / /bin/ls
* On non x86 CPUs, you need first to download at least an x86 glibc
(qemu-XXX-i386-glibc21.tar.gz on the qemu web page). Ensure that
LD_LIBRARY_PATH is not set:
unset LD_LIBRARY_PATH
Then you can launch the precompiled 'ls' x86 executable:
./qemu /usr/local/qemu-i386/bin/ls-i386
You can look at /usr/local/qemu-i386/bin/qemu-conf.sh so that QEMU is
automatically launched by the Linux kernel when you try to launch x86
executables.
Tested tool versions
--------------------
In order to compile QEMU succesfully, it is very important that you
have the right tools. The most important one is gcc. I cannot guaranty
that QEMU works if you do not use a tested gcc version. Look at
'configure' and 'Makefile' if you want to make a different gcc
version work.
host gcc binutils glibc linux
-------------------------------------------------------
x86 2.95.2 2.13.2 2.1.3 2.4.18
PowerPC 2.95.4 2.12.90.0.1 2.2.5 2.4.20-pre2
Alpha 3.3 [1] 2.14.90.0.4 2.2.5 2.2.20 [2]
Sparc32 2.95.4 2.12.90.0.1 2.2.5 2.4.18
ARM 2.95.4 2.12.90.0.1 2.2.5 2.4.9-ac10-rmk2-np1-cerf2
[1] On Alpha, QEMU needs the gcc 'visibility' attribute only available
for gcc version >= 3.3.
[2] Linux >= 2.4.20 is necessary for precise exception support
(untested).
Documentation
-------------
Read the documentation in qemu-doc.html.
Fabrice Bellard.