First:
Thank you guys for MinGW-w64! I love it! I've used it some time ago
"natively" and it was perfect.

But having sad that, the actual question/problems :-)
I've already asked that on stackoverflow, but this place is definitely
better:

This time I need a cross-compiler so I've built a tool-chain based on
mingw-w64-v2.0.8, gcc-4.5.1, binutils-2.22 on x64 linux host.

But when I build a simple "Hello world!" .exe with C++ (using cout<<, not
printf) and try to run it in Windows 7 64-bit, it fails to load runtime
(libstdc++-6.dll in this case). The error is 0xc000007b which is usually
considered to mean "wrong architecture". On the other hand a plain C
version builds and runs with no problem as well as a C++ version linked
with --static. A known problem?

I suspect that it may be some problem with binutils or multilib... With
binutils-2.21.1 the tool-chain didn't build at all. For some reason I chose
the above versions of gcc/binutils but I'm ready to upgrade if it makes
sense. But since I need it for some real work, I'd like some advice what
are currently the recommended versions? Should I give up multilib and stick
to x64? Based on your experience, to get a reasonably up-to-date but
reliable tool-chain .

Thanks in advance, Krzysztof
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to