This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] PR/5944: Support windres using correct gcc for mingw64
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 18 Mar 2008 12:07:47 +0100
- Subject: Re: [patch] PR/5944: Support windres using correct gcc for mingw64
Nick Clifton <nickc@redhat.com> wrote on 18.03.2008 11:56:14:
> Hi Kai,
>
> > 2008-03-17 Kai Tietz <Kai.Tietz@onevision.com>
> >
> > PR/5944
> > * binutils-all/windres/windres.exp: Add cross compiler support
> > for mingw64.
>
> Approved, but...
>
> > +# For none winsup using targets use the target gcc compiler
> > +if {[istarget "x86_64-*-mingw*"] } {
>
> Can this problem also occur for the i686-*-mingw* target ? If so,
> shouldn't it be included in this test ?
I can modify the code, that always the content of $CC is used as
preprocessor for windres. The problem can happen for all mingw cross
compilers using just the binutils snapshot for build without the winsup/
directory in base.
Additionally there is still a lack in supporting the build of cross
binutils itself. For this we would need the --with-sysroot path from
configure, which is unavailable for testsuite AFAIK. Additionally the
define '-D_WIN32' should be passed to the windres, if cross-compiling is
done.
Cheers,
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.