cross-compile and autotools howto missing

Erik de Castro Lopo mle+tools at
Tue Oct 7 14:47:51 PDT 2008

Matej Tyc wrote:

> Dear friends,
> I am cross compiling with Autotools and I use PKG_CHECK_MODULES macro in
> However, some unknown thing has to be done that I am not aware of, since
> if I check for x11, I have positive response when I run 
> ./configure --prefix=/usr --host=i686-pc-linux-gnu 
> and
> ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32
> (the results of the latter ./configure result in a compilation error
> later since the compiler is not able to find anything that pkg-config
> macro returned)
> There should be a mention about this in the manual or in the wiki, if
> you tell me, I can write something there with great joy.

This may be of help:


PS : I didn't answer earlier because I sometimes get behind on
     reading mail for some of the (many) lists I am on.
Erik de Castro Lopo
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier

More information about the pkg-config mailing list