From: JonY <jo...@us...> - 2010-01-19 13:58:45
|
On 1/19/2010 20:03, Sisyphus wrote: > > ----- Original Message ----- > From: "Ozkan Sezer"<se...@gm...> > >>> Firstly, the command I'm running to build and test gmp-5.0.0 is: >>> >>> ./configure --disable-shared --enable-static --host=none-none-none >>> CC="x86_64-w64-mingw32-gcc -std=gnu99" 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&& make&& make check -i >>> >> >> I would have suggested using configure --build=x86_64-w64-mingw32 >> --target=x86_64-w64-mingw32 > > Unfortunately that doesn't get me very far: > > ################################# > Rob@DESKTOP2 /c/_32/comp/gmp-5.0.0 > $ ./configure --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 > configure: error: --target is not appropriate for GMP > Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system > explicitly. Use --host if cross-compiling (see "Installing GMP" in the > manual for more on this). > > Rob@DESKTOP2 /c/_32/comp/gmp-5.0.0 > > ################################# > > Cheers, > Rob > Hi, --target is only valid for GCC/Binutils, use --build/--host instead. The localeconv error is a known problem for win32/win64 target, you can ignore it. |