On 3/5/2012 13:22, niXman wrote: > 2012/3/5 JonY <[email protected]>: >> On 3/5/2012 12:59, niXman wrote: >>> Hi, >>> >>> I try to build multilib cross compiler for host=x86 and targets >>> x86/x86_64 (is it possible?) and get the errors on build crt/lib64 >>> what say that 64 bit is not compiled in. >>> Tell me please which host/build/target I need to set for >>> binutils/gcc-c/gcc-c++/crt? >>> >>> Thanks. >>> >> >> You should always post your build details, information such as >> host/build system triplet, binutils, gcc headers, and crt configure >> command. Even config.log postings will help. >> >> Its otherwise a bit hard to guess what you did wrongly. > > I have only one error: '64 bit not compiled in' when build crt/lib64. > > So I ask, what host/build/target I have to set for the binutils/gcc-c/crt? > > Thanks. >
You haven't posted any information regarding the GCC/binutils you built, or the configure options you used for the CRT. For gcc and binutils, use --target=x86_64-w64-mingw32 --host=<triplet you want to use the toolchain on>. For CRT, use --build=<whatever you put in GCC --host> --host=<whatever you put in GCC --target>. I would really encourage you to use the prebuilt Makefiles, or at least take a look at it instead of stumbling about blindly.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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
