[Qemu-devel] Re: [PATCH 0/3] Fixes for Linux-Win32 cross-compilation

2010-01-07 Thread Paolo Bonzini



Cross compilation works without patches when PATH is modified so it
finds the correct sdl-config


True, but anything beyond ./configure --cross-prefix=cpu-vendor-os- 
(or --host for autoconf) is a bug in either your setup or your package 
or both.


Paolo




Re: [Qemu-devel] Re: [PATCH 0/3] Fixes for Linux-Win32 cross-compilation

2010-01-07 Thread Anthony Liguori

On 01/07/2010 12:28 PM, Paolo Bonzini wrote:



Cross compilation works without patches when PATH is modified so it
finds the correct sdl-config


True, but anything beyond ./configure --cross-prefix=cpu-vendor-os- 
(or --host for autoconf) is a bug in either your setup or your package 
or both.


Last I tried, sdl-config didn't actually install sdl-config with a cross 
prefix when cross compiled..


Regards,

Anthony Liguori


Paolo








[Qemu-devel] Re: [PATCH 0/3] Fixes for Linux-Win32 cross-compilation

2010-01-07 Thread Paolo Bonzini

On 01/07/2010 08:46 PM, Anthony Liguori wrote:

On 01/07/2010 12:28 PM, Paolo Bonzini wrote:



Cross compilation works without patches when PATH is modified so it
finds the correct sdl-config


True, but anything beyond ./configure --cross-prefix=cpu-vendor-os-
(or --host for autoconf) is a bug in either your setup or your package
or both.


Last I tried, sdl-config didn't actually install sdl-config with a cross
prefix when cross compiled..


Yes, that's why I'm trying to use pkg-config when cross compiling in 
patches 2/3 and 3/3.


Paolo