http://pkg-config.freedesktop.org/wiki/CrossCompileProposal
This is a patch to implement the pkg-config side of this proposal, prepared during the Emdebian ARM Sprint. It's tested with cross-compiling in Emdebian and dpkg-buildpackage which has removed the previous PKG_CONFIG_LIBPATH setting. autoconf correctly uses the --host option already. $ pkg-config --cflags glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include The current patch complies with the current dpkg-cross handling, rather than the multiarch handling. This could be extended to support both but it's probably better to wait until Multiarch cross-building is more settled. $ pkg-config --host arm-linux-gnueabi --cflags glib-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -I/usr/arm-linux-gnueabi/lib/glib-2.0/include -- Neil Williams ============= http://www.linux.codehelp.co.uk/
cross-host-support
Description: Binary data