|
出现如下错误提示:
* USE: elibc_glibc kernel_linux userland_GNU x86
* qemu requires gcc-3 in order to build and work correctly
* please compile it switching to gcc-3.
* We are aware that qemu can guess a gcc-3 but this feature
* could be harmful.
* ERROR: app-emulation/qemu-softmmu-0.9.1-r3 failed:
* gcc 4 cannot build qemu
*
* Call stack:
* ebuild.sh, line 54: Called pkg_setup
* qemu-softmmu-0.9.1-r3.ebuild, line 39: Called die
* The specific snippet of code:
* die "gcc 4 cannot build qemu"
然后我自己下载gcc-3.4.5和gcc-4.2源码包,系统默认安装的是gcc-4.4.3,先通过gcc-4.4.3编译安装gcc-4.2,然后再通过gcc-4.2来编译安装gcc-3.4.5,最后通过在/usr/bin/目录下创建一个gcc符号连接指向gcc-3.4.5版本的gcc,使用gcc -v也显示是gcc-3.4.5,可是为什么还是有上面的提示呢? |
|