This is the mail archive of the
mailing list for the Cygwin project.
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 07 Mar 2014 01:59:08 -0600
- Subject: [ITP] cross-pkg-config
- Authentication-results: sourceware.org; auth=none
In cygport git master, I changed how cygport uses pkg-config when
While pkg-config isn't technically a target tool (its configure doesn't
accept --target), using the plain pkg-config for cross-compiling
requires setting several environment variables. While this is easy
within the confines of cygport, it's not practical for independent usage.
Instead, pkg-config can be configured at build time with several options
to behave like a target tool by default, and PKG_FIND_PKG_CONFIG
actually uses AC_PATH_TOOL to find PKG_CONFIG. Hence, Fedora provides
such packages for the mingw-w64 toolchains, as do I for my Cygwin
Therefore, as of commit af8971d, cygport now requires a $host-pkg-config
for cross-toolchains. These packages should be built with
toolchain.cygclass and configured as such:
I already have packages for the cygwin and mingw-w64 cross-toolchains.
I intend to upload these in the next few days, after which I should be
ready to ship a new version of cygport.