delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/11/04:27:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Trace: 87346586/mk-filter-3.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: AqQEALYA8EhPQl5M/2dsb2JhbACEElC2OIFs
X-IronPort-AV: E=Sophos;i="4.33,393,1220223600"; d="scan'208";a="87346586"
Message-ID: <002201c92b7b$246b3fb0$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>
Subject: Re: Linker Search Directories
Date: Sat, 11 Oct 2008 09:27:04 +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

Thanks Brian, that looks as though it's worked.

Just to check that I've understood this - here's a problem that I'll
be facing in a little while....

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'.  Once again, this isn't
currently know to liblo's build scripts.

The library is in a standard directory, so to include it, do I simply type:-

./configure LDFLAGS="-lgetaddrinfo"

and then proceed as normal?

Thanks,

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