Re: [kvm-devel] [PATCH] [RESEND] Add cross compile to top level configuration file

2007-10-16 Thread Avi Kivity
Jerone Young wrote: > >>> while [[ "$1" = -* ]]; do >>> opt="$1"; shift >>> @@ -48,11 +45,17 @@ while [[ "$1" = -* ]]; do >>> want_module= >>> ;; >>> --qemu-cc) >>> - qemu_cc="$arg" >>> + cc="$arg" >>> >>> >> This forces everything to be compiled w

Re: [kvm-devel] [PATCH] [RESEND] Add cross compile to top level configuration file

2007-10-16 Thread Jerone Young
On Tue, 2007-10-16 at 11:59 +0200, Avi Kivity wrote: > Jerone Young wrote: > > This new patch removes gcc 3.x checks, as well as adds environment > > variables $CFLAGS & $LDFLAGS to include libs to qemu for cross compile. > > I was going to add this in another patch. But they should probably go in

Re: [kvm-devel] [PATCH] [RESEND] Add cross compile to top level configuration file

2007-10-16 Thread Avi Kivity
Jerone Young wrote: > This new patch btw, if it's an updated patch, don't put [RESEND] in there, it confuses me. Put in v2, v3, etc. so I know it's something new. A [RESEND] is for when I've dropped a patch without comment (which should not happen normally). -- error compiling committee.c:

Re: [kvm-devel] [PATCH] [RESEND] Add cross compile to top level configuration file

2007-10-16 Thread Avi Kivity
Jerone Young wrote: > This new patch removes gcc 3.x checks, as well as adds environment > variables $CFLAGS & $LDFLAGS to include libs to qemu for cross compile. > I was going to add this in another patch. But they should probably go in > now. So an example for power is to include zlib so before

[kvm-devel] [PATCH] [RESEND] Add cross compile to top level configuration file

2007-10-15 Thread Jerone Young
This new patch removes gcc 3.x checks, as well as adds environment variables $CFLAGS & $LDFLAGS to include libs to qemu for cross compile. I was going to add this in another patch. But they should probably go in now. So an example for power is to include zlib so before running configure you do: