On Tue, Apr 13, 2010 at 11:15 PM, Martin Rubey
<[email protected]> wrote:
> Hi all (especially Ozkan),
>

Hi,

> I tried to cross-compile gmp 4.3.2 in cygwin, but failed, the log is here:
>
> http://sprunge.us/hSOY
>
> I believe the relevant bit is near the end, copied below.
>
> Invocation was:
>
> /home/Mari/ecl-10.3.1-x64/src/gmp/configure --disable-shared
> --prefix=/home/Mari/ecl-10.3.1-x64/build
> --infodir=/home/Mari/ecl-10.3.1-x64/build/doc
> --includedir=/home/Mari/ecl-10.3.1-x64/build/ecl --with-pic
> --libdir=/home/Mari/ecl-10.3.1-x64/build --build=i686-pc-cygwin
> --host=x86_64-w64-mingw32 CFLAGS=-g -O2   LDFLAGS=  CPPFLAGS=
> CC=x86_64-w64-mingw32-gcc  ABI=64
[...]
> configure:33118: error: Oops, mp_limb_t is 32 bits, but the assembler
> code
> in this configuration expects 64 bits.

Unlike gmp-5.0.x which is w64-ready out of the box,
gmp-4.3.2 needs a win64 patch for it to compile and
function correctly. The patch is here:
http://sourceforge.net/projects/mingw-w64/files/mingw-w64/Toolchain%20patches/gmp-4.3.2-w64.patch/download

Hope this helps.

--
Ozkan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to