On 2012-02-17 2:33 PM, Ruben Van Boxem wrote:
> Hi all,
>
> On request of Kai, I built a new MinGW-w64 toolchain including the latest
> trunk 4.7 GCC, and mingw-w64 trunk. A lot of work has gone into both since
> last time I sent one of these irritating mails no one reads about toolchain
> builds no one ever uses ;-)

With x86_64-w64-mingw32-gcc-4.7.0-2_rubenvb.7z the -m32 option (e.g. c++ 
-std=c++11 sizes.cpp -m32) yields numerous link errors such as:

c:/opt/mingw32-gcc-4.7.0-2_rubenvb/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 
skipping incompatible 
c:/opt/mingw32-gcc-4.7.0-2_rubenvb/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../libstdc++.dll.a
 
when searching for -lstdc++

Is -m32 not valid with the 64-bit tools?

Regards,
Herb Thompson

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to