This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: Cygwin gdb-5.0 h8300 sim needs wait.h
- To: "'bgat at open-widgets dot com'" <bgat at open-widgets dot com>, Benjamin Riefenstahl <Benjamin dot Riefenstahl at ision dot net>
- Subject: RE: Cygwin gdb-5.0 h8300 sim needs wait.h
- From: Heribert Dahms <heribert_dahms at icon-gmbh dot de>
- Date: Tue, 10 Oct 2000 23:07:07 +0200
- Cc: cygwin at sources dot redhat dot com
Richard Steven's famous book "Advanced Programming in the Unix
Environment"
says to include <sys/types.h> and <sys/wait.h>.
And following Earnie Boyd's hint in another thread I guessed and tried
http://www.opennc.org/onlinepubs/7908799/xsh/wait.html
which says the same.
Bye, Heribert (heribert_dahms@icon-gmbh.de)
> -----Original Message-----
> From: bgat@open-widgets.com [SMTP:bgat@open-widgets.com]
> Sent: Tuesday, October 10, 2000 18:15
> To: Benjamin Riefenstahl
> Cc: gdb@sources.redhat.com; cygwin@sources.redhat.com
> Subject: Re: Cygwin gdb-5.0 h8300 sim needs wait.h
>
> 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 << File: ATT00852.ATT >>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com