On Tue, Jan 19, 2010 at 3:50 PM, JonY <jo...@users.sourceforge.net> wrote:
> On 1/19/2010 20:03, Sisyphus wrote:
>>
>> ----- Original Message -----
>> From: "Ozkan Sezer"<seze...@gmail.com>
>>
>>>> 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:
>>
>> #################################
>> r...@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).
>>
>> r...@desktop2 /c/_32/comp/gmp-5.0.0
>>
>> #################################
>>
>> Cheers,
>> Rob
>>
>
> Hi,
>
> --target is only valid for GCC/Binutils, use --build/--host instead.

Oops, really meant --host, not --target when I wrote that.
I guess people can't read mind, don't they ;)

>
> The localeconv error is a known problem for win32/win64 target, you can
> ignore it.
>

The thing is, that particular problem doesn't show up
with mingw.org compiler (I had tested with their
gcc-3.4.5 based toolchain in the past, don't know about
the behavior with their newer 4.4-based compilers).

--
Ozkan

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to