On 13/03/2011 05:37, Yaakov (Cygwin/X) wrote: > In response to recent inquiries, I have created a repository of > Linux-to-Cygwin cross-compilers for Fedora 14 i686 and x86_64 which > include GCC, Cygwin, and a handful of libraries. Also included are the > necessary mingw32 packages with static libraries for cross-compiling > Cygwin's setup.exe. > > These packages can be installed with Yum and the PackageKit frontends by > first downloading and installing the release RPM from Sourceforge: > > http://sourceforge.net/projects/fedora-cygwin/files/ > > As these are not official products of the Cygwin project, please direct > any questions or issues to the cygwin-ports-general list for now.
This is awesome, thank you! I tried jhbuilding the entire X.Org stack using these, and while there are several issues with cross-compiling that source which need fixing, I also hit a couple of snags with the tool-chain: 1) i686-pc-cygwin-pkg-config appears to be implemented as a script which ultimately executes a macro from /etc/rpm/macros.cygwin, which sets PKG_CONFIG_LIBDIR to the sysroot and unsets PKG_CONFIG_PATH and invokes the native pkg-config. Unfortunately, this seems to make it impossible to build package A and then build package B which uses pkg-config to depend on A, without installing A into your sysroot. It looks like I'm not the only one to have tripped across this problem, see e.g. [1],[2]. 2) Some X.Org components don't build with unresolved symbols at link time. The link line generated by the cross-tools contains fewer libraries to that generated by cygwin native tools, I think because the Fedora native pkg-config wasn't configured with --enable-indirect-deps, which doesn't seem to have an equivalent runtime flag. [1] https://bugzilla.redhat.com/show_bug.cgi?id=688171 [2] http://bugs.gentoo.org/310807 ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Cygwin-ports-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
