This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker Search Directories


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]