----- Original Message ----- From: "JonY" <[email protected]>
> Pass "--host=none-none-none CC=x86_64-w64-mingw32-gcc > CXX=x86_64-w64-mingw32-g++ AR=x86_64-w64-mingw32-ar > LD=x86_64-w64-mingw32-ld NM=x86_64-w64-mingw32-nm > RANLIB=x86_64-w64-mingw32-ranlib ABI=longlong" to build it without > assembly optimization. Excellent - many thanks for providing that, JonY. This is great !! GMP builds fine, and the tests all pass until we get to the tests/misc tests where we apparently come up against a redefinition of 'localeconv': #################################### x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests -DNO_ASM -O2 -pedantic -c t-locale.c In file included from t-locale.c:40:0: ../../gmp.h:191:23: warning: ISO C90 does not support 'long long' ../../gmp.h:192:14: warning: ISO C90 does not support 'long long' t-locale.c:50:1: warning: 'localeconv' redeclared without dllimport attribute: previous dllimport ignored /bin/sh ../../libtool --mode=link x86_64-w64-mingw32-gcc -O2 -pedantic -o t-locale.exe t-locale.o ../../tests/libtests.la ../../libgmp.la x86_64-w64-mingw32-gcc -O2 -pedantic -o t-locale.exe t-locale.o ../../tests/.libs/libtests.a /c/_32/comp/gmp-4.3.1/.libs/libgmp.a ../../.libs/libgmp.a c:/_64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.0/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a(dslcs00660.o):(.text+0x0): multiple definition of `localeconv' t-locale.o:t-locale.c:(.text+0x0): first defined here collect2: ld returned 1 exit status make[4]: *** [t-locale.exe] Error 1 make[4]: Leaving directory `/c/_32/comp/gmp-4.3.1/tests/misc' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/c/_32/comp/gmp-4.3.1/tests/misc' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/c/_32/comp/gmp-4.3.1/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/c/_32/comp/gmp-4.3.1' make: *** [check] Error 2 #################################### Any advice on how best to address that little niggle (or whether I can ignore it) appreciated. Cheers, Rob ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
