delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/28/00:51:18

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
Date: Sat, 28 Jul 2001 00:49:23 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: FW: Does cygwin tool kit Support threads
Message-ID: <20010728004923.A5110@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <996294770 DOT 8470 DOT 1 DOT camel AT lifelesswks> <000301c1171e$d9f73880$85602141 AT cfl DOT rr DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <000301c1171e$d9f73880$85602141@cfl.rr.com>; from anjani@cfl.rr.com on Sat, Jul 28, 2001 at 12:36:21AM -0400

On Sat, Jul 28, 2001 at 12:36:21AM -0400, Anjani Prasad Achanta wrote:
>
>	I didn't find socket.h include file and no libsocket library in
>the standard directories (I mean /usr/include and /usr/lib) Moreover no
>man pages for socket functions. 

There *is* a /usr/include/sys/socket.h.  You don't need a special library.
You don't need one on linux either.

>	But I have pthread include file - not thread library. So this
>also doesn't work. 

You don't need a special library.  It's part of cygwin.

>	So obviously when I compile, gcc says couldn't find socket.h
>file. 
>	Is the standard UNIX directory format followed in cygwin? 

#include <sys/socket.h>

If you don't have this then your installation is screwed up.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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