This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] biarch support for i386-mingw32
On Mon, Jun 8, 2009 at 8:32 AM, Robert Millan<rmh@aybabtu.com> wrote:
>
> Hi Kai,
>
> On Mon, Jun 08, 2009 at 09:27:23AM +0200, Kai Tietz wrote:
>>
>> This approac seems to be wrong. It makes no sense to change emulation
>> for i386 pr-coff targets. This would break i386 default.
>
> I tested i386-mingw32 and it continues to work. ?Can you be more specific?
>
>> Instead of your patch you should configure options to enable biarch
>> for binutils here.
>> At typical multilib version based on i386-*-mingw* can be configured as:
>> "../configure --prefix=<prefix-dir> --with-sysroot=<prefix-dir>
>> --target=i686-w64-mingw32
>> --enable-targets=i686-w64-mingw32,x86_64-w64-mingw32 "
>>
>> For me this works pretty well and testsuite run works, too.
>
> This works for ld, but then "as --64" won't work. ?My goal is to setup a
> biarch toolchain, which will later need some adjustments in gcc so that
> "i586-mingw32msvc-gcc -m64" works.
>
Which version of binutils are you using?
--
H.J.