[cairo] crosscompiling cairo with mingw64

Maarten Bosmans mkbosmans at gmail.com
Wed Sep 21 13:10:47 PDT 2011


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), or the cross-compilation environment is not
set up correctly and papering over that problem with a --disable is
not a wise thing to do in that case.

Maarten


More information about the cairo mailing list