2003-03-23 21:17:16 +01:00
|
|
|
The QEMU x86 emulator
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
INSTALLATION
|
|
|
|
------------
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
2003-04-11 03:12:28 +02:00
|
|
|
./configure --interp-prefix=/usr/local/qemu-i386
|
2003-03-23 21:17:16 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
to build qemu and libqemu.a.
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
2003-03-24 22:58:34 +01:00
|
|
|
to install QEMU in /usr/local/bin
|
2003-03-23 21:17:16 +01:00
|
|
|
|
2003-03-24 22:58:34 +01: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-04-11 03:12:28 +02:00
|
|
|
(qemu-XXX-i386-glibc21.tar.gz on the qemu web page). Ensure that
|
2003-03-25 00:00:36 +01:00
|
|
|
LD_LIBRARY_PATH is not set:
|
|
|
|
|
|
|
|
unset LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
Then you can launch the precompiled 'ls' x86 executable:
|
2003-03-24 22:58:34 +01:00
|
|
|
|
2003-03-29 17:58:09 +01:00
|
|
|
./qemu /usr/local/qemu-i386/bin/ls-i386
|
2003-03-24 22:58:34 +01:00
|
|
|
|
|
|
|
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 21:17:16 +01:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Read the documentation in qemu-doc.html.
|
|
|
|
|
|
|
|
|
|
|
|
Fabrice Bellard.
|