mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
![bellard](/assets/img/avatar_default.png)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@97 c046a42c-6fe2-441c-8c8c-71466251a162
45 lines
900 B
Plaintext
45 lines
900 B
Plaintext
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.
|
|
|
|
Documentation
|
|
-------------
|
|
|
|
Read the documentation in qemu-doc.html.
|
|
|
|
|
|
Fabrice Bellard. |