This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch 1/9] initial Python support
- From: Daniel Jacobowitz <drow at false dot org>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 5 May 2008 09:10:26 -0400
- Subject: Re: [RFC][patch 1/9] initial Python support
- References: <20080429155212.444237503@br.ibm.com> <20080429155304.288626880@br.ibm.com> <1209963038.25743.14.camel@localhost.localdomain>
On Mon, May 05, 2008 at 01:50:38AM -0300, Thiago Jung Bauermann wrote:
> % ../configure --with-libpython2.5-prefix=/blah
> configure: error: invalid package name: libpython2.5-prefix
Do we even want this option? The macro it comes from has been
surprisingly troublesome and is very complicated. Maybe we just want
--with-python, --without-python, and --with-python=/path.
BTW, could you do me a favor... make GDB fail to build if
--with-python is specified on the command line but Python could not be
found. This is something I learned from working on Debian package
builds and our own Sourcery G++ product builds. Autoconf
configuration is not so good at producing consistent packages
build after build. IMO the default should be "use python if
we find it", but with --with-python it should be "use python or go
boom".
Anyway, </soapbox>.
--
Daniel Jacobowitz
CodeSourcery