From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESNQr-0005HE-CT for qemu-devel@nongnu.org; Wed, 19 Oct 2005 19:33:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESNQp-0005Gd-2y for qemu-devel@nongnu.org; Wed, 19 Oct 2005 19:33:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESNQo-0005GX-MM for qemu-devel@nongnu.org; Wed, 19 Oct 2005 19:33:14 -0400 Received: from [66.249.82.196] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESNQo-0005TW-Mw for qemu-devel@nongnu.org; Wed, 19 Oct 2005 19:33:14 -0400 Received: by xproxy.gmail.com with SMTP id s17so54595wxc for ; Wed, 19 Oct 2005 16:33:13 -0700 (PDT) Message-ID: <6c3f5e6c0510191633q7c9bc051ie50fe833eb1e31@mail.gmail.com> Date: Wed, 19 Oct 2005 19:33:13 -0400 From: gb spam Subject: Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4 In-Reply-To: <435684D8.2050303@psislidell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <435684D8.2050303@psislidell.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 10/19/05, Rich Fought 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=3D`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=3Di686' > cc1: invalid option `regparm=3D3' > 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/=3Dgcc/=3Dgcc32/g' config-host.mak make