On 6/19/13 11:37 AM, Dongsheng Song wrote:
> I can build i686-w64-mingw32-gcc and x86_64-w64-mingw32-gcc under
> Linux, but when I use this compiler to compile native Windows
> compiler, gcc 4.7 success, gcc 4.8 failed with same build script like
> this:
>

I've probably figured it out. You need to specify --target as well. 
Without it, gcc will try to build target libraries with the system compiler.

-- 
chs



------------------------------------------------------------------------------
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=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to