root / README @ 378180d8
History | View | Annotate | Download (900 Bytes)
1 | 3ef693a0 | bellard | The QEMU x86 emulator |
---|---|---|---|
2 | 3ef693a0 | bellard | --------------------- |
3 | 3ef693a0 | bellard | |
4 | 3ef693a0 | bellard | INSTALLATION |
5 | 3ef693a0 | bellard | ------------ |
6 | 3ef693a0 | bellard | |
7 | 3ef693a0 | bellard | Type |
8 | 3ef693a0 | bellard | |
9 | 1eb87257 | bellard | ./configure --interp-prefix=/usr/local/qemu-i386 |
10 | 3ef693a0 | bellard | make |
11 | 3ef693a0 | bellard | |
12 | 3ef693a0 | bellard | to build qemu and libqemu.a. |
13 | 3ef693a0 | bellard | |
14 | 3ef693a0 | bellard | Type |
15 | 3ef693a0 | bellard | |
16 | 3ef693a0 | bellard | make install |
17 | 3ef693a0 | bellard | |
18 | d691f669 | bellard | to install QEMU in /usr/local/bin |
19 | 3ef693a0 | bellard | |
20 | d691f669 | bellard | * On x86 you should be able to launch any program by using the |
21 | d691f669 | bellard | libraries installed on your PC. For example: |
22 | d691f669 | bellard | |
23 | d691f669 | bellard | ./qemu -L / /bin/ls |
24 | d691f669 | bellard | |
25 | d691f669 | bellard | * On non x86 CPUs, you need first to download at least an x86 glibc |
26 | 1eb87257 | bellard | (qemu-XXX-i386-glibc21.tar.gz on the qemu web page). Ensure that |
27 | 644c433c | bellard | LD_LIBRARY_PATH is not set: |
28 | 644c433c | bellard | |
29 | 644c433c | bellard | unset LD_LIBRARY_PATH |
30 | 644c433c | bellard | |
31 | 644c433c | bellard | Then you can launch the precompiled 'ls' x86 executable: |
32 | d691f669 | bellard | |
33 | 500dab07 | bellard | ./qemu /usr/local/qemu-i386/bin/ls-i386 |
34 | d691f669 | bellard | |
35 | d691f669 | bellard | You can look at /usr/local/qemu-i386/bin/qemu-conf.sh so that QEMU is |
36 | d691f669 | bellard | automatically launched by the Linux kernel when you try to launch x86 |
37 | d691f669 | bellard | executables. |
38 | 3ef693a0 | bellard | |
39 | 3ef693a0 | bellard | Documentation |
40 | 3ef693a0 | bellard | ------------- |
41 | 3ef693a0 | bellard | |
42 | 3ef693a0 | bellard | Read the documentation in qemu-doc.html. |
43 | 3ef693a0 | bellard | |
44 | 3ef693a0 | bellard | |
45 | 3ef693a0 | bellard | Fabrice Bellard. |