This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][patch 1/9] initial Python support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]