This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Cygwin gdb-5.0 h8300 sim needs wait.h
- To: Benjamin Riefenstahl <Benjamin dot Riefenstahl at ision dot net>
- Subject: Re: Cygwin gdb-5.0 h8300 sim needs wait.h
- From: bgat at open-widgets dot com
- Date: Tue, 10 Oct 2000 11:14:58 -0500
- Cc: gdb at sources dot redhat dot com, cygwin at sources dot redhat dot com
- References: <20001010092621.A21489@sol.open-widgets.com> <39E337A7.3BEB0692@ision.net>
Benny:
> My docs say that wait() should be declared in <sys/wait.h>. On my
> machine Cygwin has that header and it does indeed declare wait().
Doh.
My linux box has a /usr/include/wait.h that just includes
sys/wait.h. When I failed to find /usr/include/wait.h on my cygwin
box, I looked no further.
Indeed, there *is* a /usr/include/sys/wait.h in cygwin. For some
reason, though, there is no /usr/include/wait.h, and that's what gdb
wants. I created one, and now I'm building again.
Who is right, do you think? Should gdb really be #including
<sys/wait.h>, or should cygwin offer a /usr/include/wait.h?
b.g.
--
Bill Gatliff
bgat@open-widgets.com
PGP signature