On 1/17/2012 06:41 AM, Joerg Schilling wrote:
> 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

I am using the equivalent of the Debian cross compiler - without Debian.  This
has been used to cross compile many 32 bit applications from Debian for W32,
from what I understand.  I have managed to cross compile bzip2, lame, libogg,
libvorbis, vorbis-tools, and a few others - they all work.  With most, I only
needed to set the correct path (to mingw), and specify the tools and target and
run the configure script.  I ran into problems with gzip and zlib, however.

Thanks for the link, I will look into it.  Though I hate the idea of running
msys and mingw or anything like that in a W64 environment.

The really annoying thing for me is that if you look at the Mingw64 site on
sourceforge, they indicate that you can cross compile from a GNU/Linux
distribution to W32 or W64 - and they give a list of apps that were
successfully cross compiled, but little in the way of documentation.

Chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to