[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
From: |
gb spam |
Subject: |
Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4 |
Date: |
Wed, 19 Oct 2005 19:33:13 -0400 |
On 10/19/05, Rich Fought <address@hidden> wrote:
> I'm using gcc32 and it gets pretty far, but runs out of luck here:
>
> make[1]: Entering directory `/home/rfought/qemu-0.7.2/kqemu'
> make -C /lib/modules/2.6.11-1.1369_FC4smp/build M=`pwd` modules
> make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686'
> CC [M] /home/rfought/qemu-0.7.2/kqemu/kqemu-linux.o
> cc1: invalid option `32'
> cc1: invalid option `arch=i686'
> cc1: invalid option `regparm=3'
> make[3]: *** [/home/rfought/qemu-0.7.2/kqemu/kqemu-linux.o] Error 1
> make[2]: *** [_module_/home/rfought/qemu-0.7.2/kqemu] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686'
> make[1]: *** [kqemu.ko] Error 2
> make[1]: Leaving directory `/home/rfought/qemu-0.7.2/kqemu'
> make: *** [all] Error 2
I have no problem compiling on FC4. Have never worked out exactly how
to use gcc32 "officially", but would be happy to be enlightened, and
have ended up with a hack, but the following works for me:
tar zxvf qemu-0.7.2.tar.gz
cd qemu-0.7.2
tar zxvf ../kqemu-0.7.2.tar.gz
./configure
perl -pi -e 's/=gcc/=gcc32/g' config-host.mak
make