delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/30/12:06:13

Message-Id: <200503301706.j2UH69Hl027441@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: GCC header libraries ... ?
Date: Wed, 30 Mar 2005 11:05:55 -0600
MIME-Version: 1.0
In-Reply-To: <d2ei14$eg$1@sea.gmane.org>
X-IsSubscribed: yes

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Jacob Lane, MCP
> Sent: Wednesday, March 30, 2005 9:54 AM
> To: cygwin AT cygwin DOT com
> Subject: GCC header libraries ... ?
> 
> All,
> 
> Sorry if this is a newb question, but I am somwhat new to 
> Cygwin and trying to write / compile programs using GCC. One 
> thing I noticed is that when I try to compile code from 
> others, I seem to be missing some header libraries.
> 
> For example, in one recent program:
> 
> #include <arpa/nameser.h>
> 
> I have had others tell me that on their native Linux 
> installs, they have the nameser.h library -- so it seems to 
> be just me (using Cygwin) that is having the issue.
> 
> My question is: if I run into this situation (1) what is the 
> best way to find and get the needed libraries, (2) is there 
> something within the Cygwin installer or docs that tells me 
> what libraries are installed with what package, etc?

In this particular instance, I think the issue you're running into is that
Cygwin uses newlib instead of glibc (the GNU C library used on Linux).
Glibc tends to be more comprehensive in the networking department.

-- 
Gary R. Van Sickle


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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