|
|
#tar zxvf qemu-0.8.0.tar.gz
#tar zxvf kqemu-0.7.2.tar.gz
#cp -R kqemu qemu-0.8.0/
#cd qemu-0.8.0
#aptitude install gcc-3.3
#aptitude install linux-source-2.6.16
#whereis gcc-3.3
gcc-3: /usr/bin/gcc-3.3
#gcc-3.3 --version
gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#./configure --cc=gcc-3.3
big/little test failed
ERROR: "gcc-3.3" looks like gcc 4.x
QEMU is known to have problems when compiled with gcc 4.x
It is recommended that you use gcc 3.x to build QEMU
To use this compiler anyway, configure with --disable-gcc-check
为什么找不到gcc-3.3?
./configure --disable-gcc-check
big/little test failed
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/ksgimi/Desktop/download/qemu-0.8.0
C compiler gcc
Host C compiler gcc
make make
host CPU i386
host big endian no
target list i386-user arm-user armeb-user sparc-user ppc-user mips-user mi psel-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm -softmmu
gprof enabled no
static build no
SDL support no
mingw32 support no
Adlib support no
CoreAudio support no
ALSA support no
DSound support no
FMOD support no
kqemu support yes
KQEMU Linux module configuration:
kernel sources /usr/src/linux
kbuild type 2.6
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.
不知道哪儿出错?
有一位兄弟已成功了(见编译QEMU出错)http://www.linuxsir.cn/bbs/showthread.php?t=250320
不知道我忽略了什么. |
|