This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch bfd]: Add further support for x86_64 mingw
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>, Brian Dessent <brian at dessent dot net>, Kai Tietz <ktietz70 at googlemail dot com>, Nick Clifton <nickc at redhat dot com>, NightStrike <nightstrike at gmail dot com>
- Date: Mon, 4 Feb 2008 10:10:38 +0100
- Subject: Re: [patch bfd]: Add further support for x86_64 mingw
"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