This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] configure additions for linking with static libpython
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org, tromey at redhat dot com, msnyder at vmware dot com
- Date: Mon, 8 Feb 2010 15:03:48 -0500
- Subject: Re: [RFC] configure additions for linking with static libpython
- References: <20100208192538.E075A84415@ruffy.mtv.corp.google.com>
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