On 3/6/2012 02:47, niXman wrote: > The same error on building crt: _libm_dummy.c:1:0: sorry, > unimplemented: 64-bit mode not compiled in > > That`s how I do it : > 1. binutils: > --host=i686-pc-mingw32 > --build=i686-pc-mingw32 > --enable-targets=x86_64-w64-mingw32,i686-pc-mingw32 > --enable-multilib > --prefix=$PREFIX > --with-sysroot=$PREFIX > > 3. set PATH: > export PATH=$PREFIX/bin:$PATH > > 4. gcc-c: > --host=i686-pc-mingw32 > --build=i686-pc-mingw32 > --target=i686-pc-mingw32 > --enable-targets=all > --enable-multilib > --prefix=$PREFIX > --with-sysroot=$PREFIX > > 5. crt: > --enable-lib32 > --enable-lib64 > --prefix=$PREFIX > --with-sysroot=$PREFIX > > What am I doing wrongly? > > Thanks.
Your binutils and gcc --target, use w64 instead of pc, and use --enable-fully-dynamic-string if you want it compatible with mingw-w64 builds. Please, learn to read the build scripts and docs before jumping in 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
