[cairo] crosscompiling cairo with mingw64

Behdad Esfahbod behdad at behdad.org
Wed Sep 21 13:32:12 PDT 2011


On 09/21/11 16:10, Maarten Bosmans wrote:
> 2011/9/21 Behdad Esfahbod <behdad at behdad.org>:
>> On 09/21/11 08:53, Maarten Bosmans wrote:
>>> Erm, you're trying to build a program that will run on Windows, right?
>>> There's no X11 on windows, so you should not need those headers.
>>> Something is wrong here. How do you invoke the configure script? It
>>> seems to be missing the references to the right toolchain.
>>
>> I'm guessing that it's simply the autoconf X detection macros are not
>> cross-compile friendly.  AC_PATH_XTRA in particular.
>>
>> Correcting my previous message, I should have said --disable-xlib.
> 
> This should not be strictly necessary, in my opinion.

> So either the
> macros contain a bug in that they can be used when cross-compiling
> (which I find doubtful),

You are of course entitled to your opinion.  But if you read the macro you see
that I am right.

behdad


More information about the cairo mailing list