From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8IFr-0005bY-8n for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:26:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8IFk-0005Xz-U2 for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:26:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8IFj-0005KB-Vm for qemu-devel@nongnu.org; Mon, 07 Mar 2005 08:26:32 -0500 Received: from [195.130.132.58] (helo=astra.telenet-ops.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8HeM-0003sY-TT for qemu-devel@nongnu.org; Mon, 07 Mar 2005 07:47:55 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by astra.telenet-ops.be (Postfix) with SMTP id 4C49732806E for ; Mon, 7 Mar 2005 13:47:53 +0100 (MET) Received: from 192.168.1.2 (d51A51CF1.access.telenet.be [81.165.28.241]) by astra.telenet-ops.be (Postfix) with ESMTP id 2E4C8328075 for ; Mon, 7 Mar 2005 13:47:53 +0100 (MET) Subject: Re: [Qemu-devel] qemu 32 bits on AMD64 From: Bob Deblier In-Reply-To: <200503071241.52596.vaise@votreservice.com> References: <200503071241.52596.vaise@votreservice.com> Content-Type: text/plain Date: Mon, 07 Mar 2005 13:47:52 +0100 Message-Id: <1110199672.29703.20.camel@orion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Mon, 2005-03-07 at 07:41 -0500, vaise@votreservice.com wrote: > I have read the posts about the gcc "internal compiler error: Segmentation > fault" on x86_64. ok. I have just tried with CVS (7 feb 2005 ) . I use > gcc-3.4.1-4mdk on Mandrake 10.1-64. > How can I tell ./configure to compile as a x86_32 program on a 64 bits > machine ? > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel Disclaimer: The following worked for me Fedora Core 3 x86_64 - I don't use Mandrake, and this solution may not work for you. $ linux32 /bin/bash This should make sure that your 'arch' is recognized as i686 instead of x86_64 $ CC="gcc -m32" LD="ld -m32" ./configure Should set you up for compiling and linking 32-bit binaries. $ make Sincerely, Bob Deblier