README 859 Bytes
Newer Older
bellard's avatar
bellard committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The QEMU x86 emulator
---------------------

INSTALLATION
------------

Type 

    ./configure
    make

to build qemu and libqemu.a.

Type

    make install

18
to install QEMU in /usr/local/bin
bellard's avatar
bellard committed
19

20
21
22
23
24
25
* 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
bellard's avatar
bellard committed
26
27
28
29
30
31
(qemu-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:
32

bellard's avatar
update    
bellard committed
33
    ./qemu /usr/local/qemu-i386/bin/ls-i386
34
35
36
37

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.
bellard's avatar
bellard committed
38
39
40
41
42
43
44
45

Documentation
-------------

Read the documentation in qemu-doc.html.


Fabrice Bellard.