delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/10/17:21:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <99B82AA9708ED0119B55006097125A00405B2F@ifk63.mach.uni-karlsruhe.de>
From: Heribert Dahms <heribert_dahms AT icon-gmbh DOT de>
To: "'bgat AT open-widgets DOT com'" <bgat AT open-widgets DOT com>,
Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT ision DOT net>
Cc: cygwin AT sources DOT redhat DOT com
Subject: RE: Cygwin gdb-5.0 h8300 sim needs wait.h
Date: Tue, 10 Oct 2000 23:07:07 +0200
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1457.3)

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 AT icon-gmbh DOT de)

> -----Original Message-----
> From:	bgat AT open-widgets DOT com [SMTP:bgat AT open-widgets DOT com]
> Sent:	Tuesday, October 10, 2000 18:15
> To:	Benjamin Riefenstahl
> Cc:	gdb AT sources DOT redhat DOT com; cygwin AT sources DOT redhat DOT 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 AT open-widgets DOT com << File: ATT00852.ATT >> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019