On Wed, Jun 16, 2010 at 10:27 AM, Ruben Van Boxem
<[email protected]> wrote:
> 2010/6/16 Ruben Van Boxem <[email protected]>
>>
>> 2010/6/16 JonY <[email protected]>
>>>
>>> On 6/16/2010 18:51, Ruben Van Boxem wrote:
>>>>
>>>>> Either way, without more of the config log it's difficult to tell why
>>>>> it's trying to use a half-msvc toolchain.
>>>>>
>>>>
>>>> I have attached stderr and stdout logs for
>>>> configure --host=x86_64-w64-mingw32 --disable-shared --enable-alloca=no
>>>>
>>>
>>> the config.log file would give more info.
>
> I have previously sent a message with the config.log. This seems to be too
> large, so here's the relevant section:
>
> configure:10898: x86_64-w64-mingw32-gcc -O2 -pedantic -m64 -std=gnu99
> -mtune=k8 -march=k8
>                      -S -o conftest.s conftest.c >/dev/null
>>
>> configure:10901: $? = 0
>> configure:10918: result: no
>> configure:10931: checking for x86_64-w64-mingw32-ar
>> configure:10961: result: no
>> configure:10971: checking for ar
>> configure:10987: found /mingw/bin/ar
>> configure:10998: result: ar
>> configure:11039: checking for BSD- or MS-compatible name lister (nm)
>> configure:11088: result: no
>> configure:11099: checking for x86_64-w64-mingw32-dumpbin
>> configure:11129: result: no
>> configure:11099: checking for x86_64-w64-mingw32-link
>> configure:11129: result: no
>> configure:11143: checking for dumpbin
>> configure:11173: result: no
>> configure:11143: checking for link
>> configure:11159: found /bin/link
>> configure:11170: result: link -dump -symbols
>> configure:11206: checking the name lister (link -dump -symbols) interface
>> configure:11213: x86_64-w64-mingw32-gcc -c -O2 -pedantic -m64 -std=gnu99
>> -mtune=k8 -march=k8  conftest.c >&5
>> configure:11216: link -dump -symbols "conftest.o"
>> link: invalid option -- d
>> Try `link --help' for more information.
>> configure:11219: output
>> configure:11226: result: BSD nm
>> configure:11471: checking for x86_64-w64-mingw32-as
>> configure:11501: result: no
>> configure:11511: checking for as
>> configure:11527: found /mingw/bin/as
>>
>> configure:11538: result: as
>> configure:11563: checking for x86_64-w64-mingw32-dlltool
>> configure:11593: result: no
>> configure:11603: checking for dlltool
>> configure:11619: found /mingw/bin/dlltool
>> configure:11630: result: dlltool
>> configure:11655: checking for x86_64-w64-mingw32-objdump
>> configure:11685: result: no
>> configure:11695: checking for objdump
>> configure:11711: found /mingw/bin/objdump
>> configure:11722: result: objdump
>
> It seems it can find everything except nm. And yes, I can run nm from the
> msys commanline, so it's not missing or anything.
>

Set build == host
configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 ...


The configure in libgmp will check the native tools (without the
prefix) iff build == host.   The automatic libtool check says that you
are building on i686-pc-linux, so is only checking cross tools.

c.f. configure line 10879 --- the if statement about build=host and
adding the "nm" to the line if they are equal.

Doug

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to