Re: Linker Search Directories

2008-10-14 Thread Jason Tishler
On Fri, Oct 10, 2008 at 11:58:02PM -0700, Brian Dessent wrote: > I also note that this is supposed to be covered by the python-config > script, such that autoconf scripts or Makefiles can query the set of > required flags to be added to LDFLAGS/LIBS/CPPFLAGS/etc by the output > of python-config. H

Linker Search Directories

2008-10-11 Thread R P Herrold
On Sat, 11 Oct 2008, Brian Dessent wrote: 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. getaddrinfo() was not until the 1.7 beta, I think; certainly not in

Re: Linker Search Directories

2008-10-11 Thread Brian Dessent
John Emmas wrote: > 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 are

Re: Linker Search Directories

2008-10-11 Thread John Emmas
- 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

Re: Linker Search Directories

2008-10-11 Thread Brian Dessent
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: Linker Search Directories

2008-10-11 Thread John Emmas
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 w

Re: Linker Search Directories

2008-10-10 Thread Brian Dessent
John Emmas wrote: > I'm trying to build a project (using make) that needs python. Python's link > library is in /lib/python2.5/config/ but unfortunately, 'make' doesn't seem > to be aware of this and fails with the message:- make doesn't know anything ab

Linker Search Directories

2008-10-10 Thread John Emmas
are of this and fails with the message:- cannot find -lpython2.5 collect2: ld returned 1 exit status How do I add python's folder to my list of linker search directories? I've tried google and a couple of other places but couldn't find anything helpful. However, I can't imagin