于 2012/3/5 23:52, niXman 写道: > 2012/3/5 xunxun<[email protected]>: >> 于 2012/3/5 23:05, niXman 写道: >> >>> 2012/3/5 xunxun<[email protected]>: >>>> 于 2012/3/5 22:58, niXman 写道: >>>> >>>>> JonY, xunxun, so what kind of flags should I use? >>>>> >>>> That depends on which compiler you want to use now, and what OS you are >>>> on >>>> now. >>> compiler - i686-pc-mingw32 >>> os - win7 x64 >> I think the process is: >> >> 1) binutils >> --host=i686-pc-mingw32 >> --build=i686-pc-mingw32 >> --enable-targets=x86_64-w64-mingw32,i686-pc-mingw32 >> --enable-multilib >> >> make install >> >> 2) build gcc but no libs >> --host=i686-pc-mingw32 >> --build=i686-pc-mingw32 >> --enable-targets=all >> --enable-multilib >> >> make all-gcc >> make install-gcc >> >> 3) build crt >> >> --enable-lib32 --enable-lib64 >> >> 4) build gcc >> make > Thanks a lot for your reply. > Tell me please, what kind of flags should I use for building > mingw-w64-headers and which symlinks create for them? The headers are not the problem, because X86 and X64 use the same headers. You can use --host=i696-pc-mingw32
Usally I don't use symlink on Windows, it can be very annoyed and may have some bugs on Windows and it may depend on your sysroot set. Assume your predix is /mingw You can copy your headers and libs to /mingw, /mingw/mingw, /mingw/<targets>. They may be redundant, and you can try to make it sure when building ( if not finding some headers and libs, you can see relational config.log ). Good luck! > > Thanks. > >> >> >> >> >>>>> >>>> -- >>>> Best Regards, >>>> xunxun >>>> >>> >> >> -- >> Best Regards, >> xunxun >> > > -- Best Regards, xunxun ------------------------------------------------------------------------------ Try before you buy = See our experts in action! 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-dev2 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
