[Qemu-devel] Re: Build for an arm host

2005-12-21 Thread Steve Magoun
I'm able to build qemu for an arm host with the patch I sent earlier today. I'm cross-compiling on x86 to build the arm binary: cd qemu ./configure --cross-prefix=arm-linux- --cpu=armv4l --target-list=i386-user make The resulting binary (qemu/i386-user/qemu-i386) runs simple i386 programs; I

[Qemu-devel] [PATCH] Fix --extra-cflags, --extra-ldflags

2005-12-21 Thread Steve Magoun
This patch fixes the --extra-cflags and --extra-ldflags arguments to configure; without the patch extra flags passed through those arguments were ignored. Steve Index: Makefile === RCS file: /cvsroot/qemu/qemu/Makefile,v retrie

[Qemu-devel] [PATCH] Building on ARM host

2005-12-21 Thread Steve Magoun
This patch cleans up some bitrot that prevented qemu from building on arm. It includes a fix for dyngen.h suggested by Chih-Chung Chang. The resulting binary runs simple i386 programs like 'ls' on an arm host. Steve Index: cpu-exec.c ==

Re: [Qemu-devel] Building qemu on ARM host

2005-12-07 Thread Steve Magoun
On Dec 7, 2005, at 12:56 PM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: Maybe you could try compiling op.o with -mlong-jump to solve this, but probably not given that this error is from an inline assembly instruction. The assembly instruction in question is the _arm_ GOTO_LABEL_PARAM de

[Qemu-devel] Building qemu on ARM host

2005-12-05 Thread Steve Magoun
I'm trying to build qemu from CVS on an ARM/Xscale host (Linux 2.6.13.4, gcc 3.3.1, binutils 2.14). I had to apply the enclosed qemu- arm.patch to fix some bitrot, but now the build fails with 'relocation truncated to fit' errors. I tried building with -mlong- calls but that didn't make a dif