于 2012/3/6 2:47, niXman 写道:
> 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
I think here don't need

--target=i686-pc-mingw32

And after building it, using the built gcc to overwrite your present gcc, 
please make sure that gcc -m64 can work.

>
> 5. crt:
>         --enable-lib32
>         --enable-lib64
>         --prefix=$PREFIX
>         --with-sysroot=$PREFIX
>
> What am I doing wrongly?
>
> Thanks.
>


-- 
Best Regards,
xunxun


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to