2010/9/5 İsmail Dönmez <[email protected]>: > Hi there; > > On Sun, Sep 5, 2010 at 10:04 PM, Kai Tietz <[email protected]> wrote: >> Hmm, as I see in this report has binutils not being configure to >> support pe-i386 targets (see here our Wiki page about multilib - it >> needs additional arguments for doing this). >> By fixing this, you should be able to build a multilib cross-compiler. > > ld do have i386 targets but interestingly missing x86_64 ones: > > > [~/Sources/gcc/build-w64]> x86_64-w64-mingw32-ld -V > GNU ld (GNU Binutils) 2.20.1.20100905 > Supported emulations: > i386pep > i386pe > > I have configured binutils with: > > ../configure --target=x86_64-w64-mingw32 > --enable-targets=x86_64-w64-mingw32,i686-w64-mingw32 > --prefix=/usr/local/mingw64 --disable-werror > > Any help is appreciated. > > Regards, > ismail >
Well, as you see in your dump of ld "i386pep" which means that ld supports x86_64 output. In ld (and some other tools of binutils) the naming of target is different. So you should have a binutils version which is capable to build 32-bit and 64-bit code. See http://sourceforge.net/apps/trac/mingw-w64/wiki/Answer%20Multilib%20Toolchain for some FAQ about this subject. Regards, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
