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
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public