From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7VPO-00031w-FC for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:39:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VPK-00030L-24 for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:39:53 -0500 Received: from [199.232.76.173] (port=47323 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VPJ-00030G-Nz for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:39:49 -0500 Received: from mail-bw0-f212.google.com ([209.85.218.212]:36382) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7VPJ-0007WD-6B for qemu-devel@nongnu.org; Mon, 09 Nov 2009 09:39:49 -0500 Received: by bwz4 with SMTP id 4so3536473bwz.2 for ; Mon, 09 Nov 2009 06:39:46 -0800 (PST) MIME-Version: 1.0 Date: Mon, 9 Nov 2009 15:39:46 +0100 Message-ID: From: "jamesmikedupont@googlemail.com" Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Build on i386 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi , I have patched the qemu to even build on i386. Now all the targets build, but I cannot run all targets. ./i386-softmmu/qemu -L / /bin/ls qemu: could not load PC BIOS 'bios.bin' Does not work. ./i386-linux-user/qemu-i386 -L / /bin/ls qemu: Unsupported syscall: 240 qemu: Unsupported syscall: 240 acl.c config-host.ld kvm-all.c posix-aio-compat.o qemu-thread.c target-cris acl.d config-host.mak kvm.h ppc64abi32-linux-user qemu-thread.h target-i386 Works. ./x86_64-softmmu/qemu-system-x86_64 -L / /bin/ls qemu: could not load PC BIOS 'bios.bin' mdupont@introspector-desktop:~/2009/11/external/qemugit/mainline/qemu$ ./x86_64-linux-user/qemu-x86_64 -L / /bin/ls Error -8 while loading /bin/ls diff --git a/configure b/configure index aa2cc43..451c2be 100755 --- a/configure +++ b/configure @@ -1736,7 +1736,8 @@ if test "$debug" = "no" ; then fi QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" -QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" +#QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" +QEMU_CFLAGS="-D_GNU_SOURCE -D_LARGEFILE_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" LDFLAGS="-g $LDFLAGS"