Chris Walters <cjw20...@comcast.net> wrote: > I have a question about cross compiling in Gentoo - specifically cross > compiling for W32/W64. I tried their preferred method and didn't like it, so > I > downloaded the appropriate Mingw64 build files, set up a cross compile > account, > with the appropriate paths, variables, etc. Most packages compile correctly > (though it sometimes takes some code hacking - and yes they do run in Win 7), > but there are some I can't seem to get to build properly - usually the ones > that have make files for MS Visual Studio. I have no interest in purchasing > Visual Studio. > > My question is, does anyone know of any good resources (mailing lists, sites, > etc.) on cross compiling on a GNU/Linux platform for a W32/W64 platform? The > searches I've run have directed me to sites that talk about using MSYS and > Mingw on a W32 platform (I don't have all year to build a single package). I > am looking to build GraphicsMagick, and some helpful tools for W64 (though I'd > accept W32, if that's the only way).
I am not sure what you really like. Cross compiling is a general "problem" and not related to a specific distro. For your specific problem: it is most unlikely that you will get a MS cross compiler that runs on other platforms than WIN-DOS. In general: The most annoying problem with cross compiling is that GNU autoconf does not support cross compiling and as a result, you need to manually create results if you like to cross compile. The reason for this problem is that many autoconf tests need to be run on the target platform in order to create useful results. Since July 2011, the Schily autoconf system (available e.g. via: ftp://ftp.berlios.de/pub/schily) includes support for cross compiling by detecting cross compilation and by running those tests that need the target system either on a related target system or on an emulator. Note that the autoconf configuration in ftp://ftp.berlios.de/pub/schily includes aprox. 700 autoconf tests - 70 of these tests need to be run on the target, this can be seen as a hint that aprox. 10% of the tests need to be run on the target. As you see, your question cannot be easily answered. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily