root / README @ b67d5959
History | View | Annotate | Download (2.1 kB)
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 | c1db2eb8 | bellard | Tested tool versions |
40 | c1db2eb8 | bellard | -------------------- |
41 | c1db2eb8 | bellard | |
42 | c1db2eb8 | bellard | In order to compile QEMU succesfully, it is very important that you |
43 | c1db2eb8 | bellard | have the right tools. The most important one is gcc. I cannot guaranty |
44 | c1db2eb8 | bellard | that QEMU works if you do not use a tested gcc version. Look at |
45 | c1db2eb8 | bellard | 'configure' and 'Makefile' if you want to make a different gcc |
46 | 411bffc4 | bellard | version work. |
47 | c1db2eb8 | bellard | |
48 | 844c72ec | bellard | host gcc binutils glibc linux distribution |
49 | 844c72ec | bellard | ---------------------------------------------------------------------- |
50 | 844c72ec | bellard | x86 2.95.2 2.13.2 2.1.3 2.4.18 |
51 | 844c72ec | bellard | 3.2 2.13.2 2.1.3 2.4.18 |
52 | 844c72ec | bellard | 2.96 2.11.93.0.2 2.2.5 2.4.18 Red Hat 7.3 |
53 | 9d0fe224 | bellard | 3.2.2 2.13.90.0.18 2.3.2 2.4.20 Red Hat 9 |
54 | c1db2eb8 | bellard | |
55 | 17383a2a | bellard | PowerPC 3.3 [4] 2.13.90.0.18 2.3.1 2.4.20briq |
56 | 17383a2a | bellard | 3.2 |
57 | c1db2eb8 | bellard | |
58 | 844c72ec | bellard | Alpha 3.3 [1] 2.14.90.0.4 2.2.5 2.2.20 [2] Debian 3.0 |
59 | c1db2eb8 | bellard | |
60 | 844c72ec | bellard | Sparc32 2.95.4 2.12.90.0.1 2.2.5 2.4.18 Debian 3.0 |
61 | c1db2eb8 | bellard | |
62 | 844c72ec | bellard | ARM 2.95.4 2.12.90.0.1 2.2.5 2.4.9 [3] Debian 3.0 |
63 | 411bffc4 | bellard | |
64 | 411bffc4 | bellard | [1] On Alpha, QEMU needs the gcc 'visibility' attribute only available |
65 | 411bffc4 | bellard | for gcc version >= 3.3. |
66 | 411bffc4 | bellard | [2] Linux >= 2.4.20 is necessary for precise exception support |
67 | 411bffc4 | bellard | (untested). |
68 | 844c72ec | bellard | [3] 2.4.9-ac10-rmk2-np1-cerf2 |
69 | c1db2eb8 | bellard | |
70 | 17383a2a | bellard | [4] gcc 2.95.x generates invalid code when using too many register |
71 | 17383a2a | bellard | variables. You must use gcc 3.x on PowerPC. |
72 | 17383a2a | bellard | |
73 | 3ef693a0 | bellard | Documentation |
74 | 3ef693a0 | bellard | ------------- |
75 | 3ef693a0 | bellard | |
76 | 3ef693a0 | bellard | Read the documentation in qemu-doc.html. |
77 | 3ef693a0 | bellard | |
78 | 3ef693a0 | bellard | |
79 | 3ef693a0 | bellard | Fabrice Bellard. |