[RFC] configure additions for linking with static libpython

Daniel Jacobowitz dan@codesourcery.com
Mon Feb 8 20:03:00 GMT 2010


On Mon, Feb 08, 2010 at 11:25:38AM -0800, Doug Evans wrote:
> Hi.
> I was going through my mail and found this thread:
> 
> http://sourceware.org/ml/gdb/2010-01/msg00223.html
> 
> Tested on i686-linux and amd64-linux with a static-library-only
> python installation.  I wasn't sure how common static-only
> installations are so I didn't submitted this earlier.
> 
> The -lutil is necessary to find forkpty, openpty,
> referenced by at least libpython2.4.a(posixmodule.o).
> I don't know how common libutil is w.r.t. libpython.
> Maybe the script should first test for libutil?

Yes, I think it should.  Can we check for all three libraries
and link any that work?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list