delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <48F0A7BF.5782EF6D@dessent.net> |
Date: | Sat, 11 Oct 2008 06:18:55 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Linker Search Directories |
References: | <003f01c92b6b$4840a160$4001a8c0 AT mycomputer> <48F04E7A DOT 44187926 AT dessent DOT net> <002201c92b7b$246b3fb0$4001a8c0 AT mycomputer> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
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 |
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'. Once again, this isn't > currently know to liblo's build scripts. 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. > The library is in a standard directory, so to include it, do I simply type:- > > ./configure LDFLAGS="-lgetaddrinfo" The proper variable for -l flags is LIBS not LDFLAGS. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |