delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/27/09:08:34

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: <39F97626.5D921242@cygnus.com>
Date: Fri, 27 Oct 2000 23:33:42 +1100
From: Andrew Cagney <ac131313 AT cygnus DOT com>
X-Mailer: Mozilla 4.74 [en] (X11; U; NetBSD 1.5_BETA i386)
X-Accept-Language: en
MIME-Version: 1.0
To: bgat AT open-widgets DOT com
Cc: Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT ision DOT net>,
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
References: <20001010092621 DOT A21489 AT sol DOT open-widgets DOT com> <39E337A7 DOT 3BEB0692 AT ision DOT net> <20001010111458 DOT A22246 AT sol DOT open-widgets DOT com>

bgat AT open-widgets DOT com wrote:
> 
> 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?

Cygwin is more correct than GDB.  The last thing cygwin needs is a
<wait.h> :-)

That file should try to include <sys/wait.h> and then <wait.h>.  To see
how to fix it have a look at the src/gdb and now gdb_wait.h is setup.

	Andrew

--
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