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: Joel Brobecker <brobecker at adacore 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: Tue, 9 Feb 2010 08:35:55 +0400
- Subject: Re: [RFC] configure additions for linking with static libpython
- References: <20100208192538.E075A84415@ruffy.mtv.corp.google.com>
> 2010-02-08 Doug Evans <dje@google.com>
>
> * configure.ac (--with-python): Add necessary libraries
> -dl, -lpthread, -lutil in case linking with libpython.a.
> Add attempt to find libpython.a.
> * configure: Regenerated.
I don't object if this is useful to anyone, but...
I am wondering whether it is really useful to link GDB against
libpython.a... I looked at the thread you referenced, and I still
wasn't sure what the problem was... Linking GDB against a static
libpython is something I thought about for AdaCore, but I also
realized that we'd need to distribute the python .py files anyway,
so it's not big deal to distribute the entire python install, including
share SOs...
--
Joel