This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Build failure] Cygwin GDB multibuild failure
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Pierre Muller <muller at ics dot u-strasbg dot fr>
- Cc: binutils at sourceware dot org, gdb at sourceware dot org
- Date: Tue, 23 Jun 2009 00:15:02 +0100
- Subject: Re: [Build failure] Cygwin GDB multibuild failure
- References: <000001c9f389$d74ac340$85e049c0$@u-strasbg.fr>
Pierre Muller wrote:
> When I try to build GDB
> with --enable-targets=all --enable-64bit-bfd
> I get the following error:
> ../../purecvs/bfd/plugin.c: In function `load_plugin':
> ../../purecvs/bfd/plugin.c:206: error: structure has no member named
> `d_type'
> There is no d_type field for dirent structure on the currently distributed
> cygwin. It seems that this field has been added recently
> in winsup directory, but is it possible to fix that build failure
> nonetheless?
As far as I can see, POSIX guarantees nothing beyond the presence of d_ino
and d_name[], so use of d_type should probably be protected by some kind of
autoconf test. I don't know if there already is a suitable one or not.
cheers,
DaveK