[patch bfd]: Add further support for x86_64 mingw
Kai Tietz
Kai.Tietz@onevision.com
Mon Feb 4 09:12:00 GMT 2008
"H.J. Lu" wrote on 03.02.2008 01:02:22:
> On Sat, Feb 02, 2008 at 11:09:27PM +0100, Kai Tietz wrote:
> > > Or we can use things like
> > >
> > > #define _bfd_int64_low(x) ((unsigned long) (((x) & 0xffffffff)))
> > > #define _bfd_int64_high(x) ((unsigned long) (((x) >> 32) &
0xffffffff))
> > > #define fprintf_vma(s,x) \
> > > fprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
> > > #define sprintf_vma(s,x) \
> > > sprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
> >
> > H.J.,
> > This would be a partial solution for bfd. But the 'll' is used on some
> > places in binutils and gas, too. So we have to change them too. A
> > positive side effect of this approach is, that we won't need target
>
> Would you mind submitting a patch to fix 32bit mingw with gcc 4.1?
>
> > specific '#if' clauses.
> >
>
> We still need "#if" for hosts, like mingw, which support long long,
> but don't support %ll.
Jsut for your notice, if you specify for configure the option
'--disable-werror' you can cross compile without breaking the build.
Should I add a patch to configure to disable -Werror for mingw targets?
Cheers,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer:
Ulrike Döhler, Manuela Kluger
More information about the Binutils
mailing list