cross-compile and autotools howto missing

Erik de Castro Lopo mle+tools at
Thu Oct 9 02:45:52 PDT 2008

Matěj Týč wrote:

> The problem is that if you want to use pkg-config only on, let's say, Linux,
> then, when you cross-compile to WIndows, the present behavior is that if you
> don't have the $host-pkg-config, if uses your Linux pkg-config which
> inevitably becomes a problem.

Yes, but that behaviour is deprecated and is in the process of 
being removed from the default behaviour of autoconf.

Obviously, this could be fixed now with a little autoconf

> Thank you for the example

No problem.

Erik (with a 'k' :-).
Erik de Castro Lopo
C++: The power, elegance and simplicity of a hand grenade.

More information about the pkg-config mailing list