[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] capstone broke mingw cross build
From: |
Alistair Francis |
Subject: |
Re: [Qemu-devel] capstone broke mingw cross build |
Date: |
Tue, 7 Nov 2017 15:21:22 -0800 |
On Tue, Nov 7, 2017 at 9:53 AM, Peter Maydell <address@hidden> wrote:
> On 7 November 2017 at 17:52, Alistair Francis <address@hidden> wrote:
>> On Fri, Nov 3, 2017 at 6:40 AM, Gerd Hoffmann <address@hidden> 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