Go to file
bellard 5bbe92995c disas endian fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@227 c046a42c-6fe2-441c-8c8c-71466251a162
2003-06-09 19:38:38 +00:00
linux-user removed unused code 2003-06-09 15:29:20 +00:00
tests removed unused dependancy if non x86 2003-06-09 15:30:37 +00:00
alpha-dis.c moved to disas.c 2003-06-09 15:31:02 +00:00
alpha.ld alpha support 2003-04-29 20:53:42 +00:00
arm-dis.c added ARM and Sparc disassemblers 2003-06-09 15:23:31 +00:00
Changelog update 2003-06-09 15:38:23 +00:00
configure Sparc update (David S. Miller) 2003-05-13 18:59:59 +00:00
COPYING distribution patches 2003-03-23 20:17:16 +00:00
COPYING.LIB update 2003-05-25 16:41:52 +00:00
cpu-i386.h arm support 2003-06-09 15:29:55 +00:00
dis-asm.h added ARM and Sparc disassemblers 2003-06-09 15:23:31 +00:00
disas.c disas endian fix 2003-06-09 19:38:38 +00:00
disas.h PowerPC disas code 2003-04-29 20:41:16 +00:00
dyngen.c arm support - suppressed possibly unsafe sparc nop deletion 2003-06-09 15:34:19 +00:00
dyngen.h arm support - suppressed possibly unsafe sparc nop deletion 2003-06-09 15:34:19 +00:00
elf.h ia64 support 2003-04-29 21:10:09 +00:00
exec-i386.c arm support - modified sparc to work with direct chaining 2003-06-09 15:28:00 +00:00
exec-i386.h weird arm double format support 2003-06-09 15:28:45 +00:00
exec.c precise exceptions 2003-05-27 23:29:48 +00:00
exec.h arm support 2003-06-09 15:29:55 +00:00
helper-i386.c more code moved to helpers - sipmplified x86 float constants definitions 2003-06-09 15:25:54 +00:00
i386-dis.c added ARM and Sparc disassemblers 2003-06-09 15:23:31 +00:00
i386.ld This commit was generated by cvs2svn to compensate for changes in r2, 2003-02-18 22:55:36 +00:00
ia64-syscall.S ia64 support 2003-04-29 21:10:09 +00:00
Makefile use -mflat for helper-i386.c on sparc - use custom ld script on sparc to free zero memory addresses for vm86 emulation - arm support 2003-06-09 15:33:05 +00:00
op_string.h changed I/O function prototype to include emulator state 2003-05-08 15:42:38 +00:00
op-i386.c more code moved to helpers 2003-06-09 15:24:58 +00:00
opreg_template.h glibc2.2 fixes - more command line options - misc doc fixes 2003-03-24 21:58:34 +00:00
ops_template.h direct chaining for PowerPC and i386 2003-05-25 16:46:15 +00:00
ppc-dis.c PowerPC disas code 2003-04-29 20:41:16 +00:00
ppc.ld ppc build 2003-02-18 23:35:48 +00:00
qemu-doc.texi update 2003-05-28 00:27:57 +00:00
README update 2003-06-09 15:38:23 +00:00
README.distrib update 2003-04-11 01:17:32 +00:00
s390.ld update 2003-04-29 21:34:02 +00:00
sparc-dis.c added ARM and Sparc disassemblers 2003-06-09 15:23:31 +00:00
syscall-i386.h convert mmap flags (alpha fix) 2003-06-05 00:57:30 +00:00
thunk.c 64 bit fix 2003-04-07 21:35:13 +00:00
thunk.h 64 bit fix 2003-06-05 01:52:19 +00:00
TODO update 2003-06-09 15:38:23 +00:00
translate-i386.c arm support 2003-06-09 15:29:55 +00:00
VERSION update 2003-05-28 00:27:57 +00:00

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.