On Tue, Nov 7, 2017 at 9:53 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 7 November 2017 at 17:52, Alistair Francis <alistai...@gmail.com> wrote: >> On Fri, Nov 3, 2017 at 6:40 AM, Gerd Hoffmann <kra...@redhat.com> 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, though... >>> >>> Ah, the recursive call in the qemu Makefile doesn't set RANLIB. >>> So it probably works if that happens to be set correctly in the >>> environment. I'm using 'configure --cross-prefix=x86_64-w64-mingw32-' >>> for cross builds though. >> >> I'm seeing the same problem on RHEL7.2 as well. Did you find a nicer >> solution then manually running runlib? > > Does adding RANLIB to the Makefile rune that calls the capstone > makefile work? (I guess we might need to set it up in configure too.)
It does, I'll send a patch out. Thanks for the help Peter Alistair > > thanks > -- PMM