2003-03-23 23:17:16 +03:00
|
|
|
The QEMU x86 emulator
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
INSTALLATION
|
|
|
|
------------
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
|
|
|
|
to build qemu and libqemu.a.
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
2003-03-25 00:58:34 +03:00
|
|
|
to install QEMU in /usr/local/bin
|
2003-03-23 23:17:16 +03:00
|
|
|
|
2003-03-25 00:58:34 +03:00
|
|
|
* 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
|
2003-03-25 02:00:36 +03:00
|
|
|
(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:
|
2003-03-25 00:58:34 +03:00
|
|
|
|
|
|
|
./qemu /usr/local/qemu-i386/bin/ls
|
|
|
|
|
|
|
|
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.
|
2003-03-23 23:17:16 +03:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Read the documentation in qemu-doc.html.
|
|
|
|
|
|
|
|
|
|
|
|
Fabrice Bellard.
|