delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/11/10:23:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Trace: 87451019/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.66.94.76/None/johne53 AT tiscali DOT co DOT uk
X-SBRS: None
X-RemoteIP: 79.66.94.76
X-IP-MAIL-FROM: johne53 AT tiscali DOT co DOT uk
X-MUA: Microsoft Outlook Express 6.00.2900.2180Produced By Microsoft MimeOLE V6.00.2900.2180
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqYEAKhT8EhPQl5M/2dsb2JhbACEElC2DYFs
X-IronPort-AV: E=Sophos;i="4.33,393,1220223600"; d="scan'208";a="87451019"
Message-ID: <002101c92bac$d92e76c0$4001a8c0@mycomputer>
From: "John Emmas" <johne53 AT tiscali DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
References: <003f01c92b6b$4840a160$4001a8c0 AT mycomputer> <48F04E7A DOT 44187926 AT dessent DOT net> <002201c92b7b$246b3fb0$4001a8c0 AT mycomputer> <48F0A7BF DOT 5782EF6D AT dessent DOT net>
Subject: Re: Linker Search Directories
Date: Sat, 11 Oct 2008 15:22:53 +0100
MIME-Version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

----- Original Message ----- 
From: "Brian Dessent"
Subject: Re: Linker Search Directories
>
> John Emmas wrote:
>
>> I'm about to build another library called "liblo".  This library uses
>> various functions with names like getaddrinfo(), freeaddrinfo() etc
>> (all of which are declared in /usr/include/gettaddrinfo.h).  On my
>> Linux box, these functions reside in 'libc.a' - but in Cygwin, they're
>> in a different library, called 'libgetaddrinfo.a'.
>
> Uh, what?  getaddrinfo() is implemented in Cygwin itself, which is the
> equivalent of -lc and is implicitly included in every link, so you
> should need no such external library at all.
>
Initially, that's what I thought too Brian.  They're part of libc when
I compile under Linux but they're not there for Cygwin (and I only installed
Cygwin a few weeks ago).  I need to link to libgetaddrinfo.  In fact
I searched libc to find the function names but they aren't there.

John 


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