Dear all,

I had some troubles cross-compiling MPIR from Debian for MinGW-64 (using 
the debian provided mingw packages):
* most if not all (.asm, not sure for the others) files in mpn/x86_64w and 
surely sudirs have DOS file endings and make the compilation fail, running 
dos2unix solves the issue;
* when configuring MPIR to be cross-compiled, YASM also gets configured to 
be cross-compiled and so cannot be run on Linux, the solution being to 
reconfigure YASM after configuring MPIR in the top level directory not to 
use --host=x86_64-w64-mingw32 (or whatever version of MinGW[-64] you want 
to use).
After applying these two fixes, MPIR seems to compile fine (the static lib 
at least).
Please note I've not actually tested the produced library is functional as 
I don't usually have a Windows box at hand.

Best,
JP

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to