On 9/15/2010 20:56, Ruben Van Boxem wrote:
> 2010/9/15 Ruben Van Boxem<vanboxem.ru...@gmail.com>
>
>> Hi,
>>
>> I now have:
>> working C compiler (make all-gcc) and binutils (4.5.2 snapshot, 2.20.51
>> snapshot respectively), both with multilib support, together with a
>> mingw-w64 crt build (1.0-20100914) with both 32- and 64-bit libs. I'm
>> compiling the rest of gcc with this C compiler installed from make
>> install-gcc, and have verified that it is in PATH, and all libs are
>> available.
>>
>> No when I run "make -j3 -s" in the gcc build dir, I get these errors after
>> a while:
>>
>> M:\Development\msys\home\ruben\mingw64\build\mingw64\x86_64-w64-mingw32\bin\ld.exe:
>>> skipping incompatible
>>> M:/Development/msys/home/ruben/mingw64/build/mingw64/x86_64-w64-mingw32/lib/libmingw32.a
>>> when searching for -lmingw32
>>>
>>
>> Same for mingwex, moldname, msvcrt, user32, kernel32, advapi32, and
>> shell32. These files are present in the lib32 directory, but apparantly ld
>> isn't smart enough to look in the lib32 directory. I found 
>> this<http://pete-tech.blogspot.com/2010/07/compiling-mingw-w64-with-multilib-on.html>,
>> which describes a fix/hack to work around this, but I'd like a
>> better/automatic solution (if there is one of course).
>>
>> Thanks!
>>
>> Ruben
>>
>
> I solved this by copying _ONLY_<sysroot>/x86_64-w64-mingw32/lib32 to
> <sysroot>/mingw/lib32.
> This step was not required when I built my non-multilib toolchain, and the
> only directory in<sysroot>/mingw was an empty include as required by gcc.
>

So you did not link x86_64-w64-mingw32 to mingw as required. This is an 
operator error.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to