Re: [Qemu-devel] capstone broke mingw cross build

2017-11-07 Thread Alistair Francis
On Tue, Nov 7, 2017 at 9:53 AM, Peter Maydell wrote: > On 7 November 2017 at 17:52, Alistair Francis wrote: >> On Fri, Nov 3, 2017 at 6:40 AM, Gerd Hoffmann wrote: >>> Hi, >>> > "x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25" Hmm, I guess this 'ar' isn't capa

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-07 Thread Peter Maydell
On 7 November 2017 at 17:52, Alistair Francis wrote: > On Fri, Nov 3, 2017 at 6:40 AM, Gerd Hoffmann wrote: >> Hi, >> >>> > "x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25" >>> >>> Hmm, I guess this 'ar' isn't capable of avoiding the requirement for >>> ranlib. The capstone m

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-07 Thread Alistair Francis
On Fri, Nov 3, 2017 at 6:40 AM, Gerd Hoffmann wrote: > Hi, > >> > "x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25" >> >> Hmm, I guess this 'ar' isn't capable of avoiding the requirement for >> ranlib. The capstone makefiles look like they have support for >> running ranlib, th

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Gerd Hoffmann
Hi, > > "x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25" > > Hmm, I guess this 'ar' isn't capable of avoiding the requirement for > ranlib. The capstone makefiles look like they have support for > running ranlib, though... Ah, the recursive call in the qemu Makefile doesn't

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Peter Maydell
On 3 November 2017 at 13:22, Gerd Hoffmann wrote: >> Works for me for the crossbuild I do with mingw64, so I wonder >> what's different about your setup? > > It's RHEL-7, with the mingw packages from epel. > > For some reason just using x86_64-w64-mingw32-ar seems to not be > enough. When running

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Gerd Hoffmann
Hi, > Works for me for the crossbuild I do with mingw64, so I wonder > what's different about your setup? It's RHEL-7, with the mingw packages from epel. For some reason just using x86_64-w64-mingw32-ar seems to not be enough. When running "x86_64-w64-mingw32-ranlib capstone/capstone.lib" (as

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (f4...@amsat.org) wrote: > Hi Gerd, > > On 11/03/2017 05:19 AM, Gerd Hoffmann wrote: > > Hi, > > > > see $subject > > > > make: Entering directory `/home/kraxel/projects/qemu/build-win64' > > mkdir -p dtc/libfdt > > mkdir -p dtc/tests > > make[1]: `/home/kraxel/project

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Peter Maydell
On 3 November 2017 at 08:19, Gerd Hoffmann wrote: > Hi, > > see $subject > > make: Entering directory `/home/kraxel/projects/qemu/build-win64' > mkdir -p dtc/libfdt > mkdir -p dtc/tests > make[1]: `/home/kraxel/projects/qemu/build-win64/capstone/capstone.lib' > is up to date. > LINKqemu-ga

Re: [Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Philippe Mathieu-Daudé
Hi Gerd, On 11/03/2017 05:19 AM, Gerd Hoffmann wrote: > Hi, > > see $subject > > make: Entering directory `/home/kraxel/projects/qemu/build-win64' > mkdir -p dtc/libfdt > mkdir -p dtc/tests > make[1]: `/home/kraxel/projects/qemu/build-win64/capstone/capstone.lib' > is up to date. >   LINK

[Qemu-devel] capstone broke mingw cross build

2017-11-03 Thread Gerd Hoffmann
Hi, see $subject make: Entering directory `/home/kraxel/projects/qemu/build-win64' mkdir -p dtc/libfdt mkdir -p dtc/tests make[1]: `/home/kraxel/projects/qemu/build-win64/capstone/capstone.lib' is up to date.   LINKqemu-ga.exe   LINKqemu-img.exe /home/kraxel/projects/qemu/build-win64/c