From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23769 invoked by alias); 11 May 2008 21:46:48 -0000 Received: (qmail 23721 invoked by uid 22791); 11 May 2008 21:46:47 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 May 2008 21:46:26 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id 78A2B390052 for ; Sun, 11 May 2008 18:31:51 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4BLkO4Q2261244 for ; Sun, 11 May 2008 18:46:24 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4BLkC2o008268 for ; Sun, 11 May 2008 18:46:12 -0300 Received: from [9.18.196.186] ([9.18.196.186]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m4BLkBHI008263; Sun, 11 May 2008 18:46:11 -0300 Subject: Re: [RFC][patch 1/9] initial Python support From: Thiago Jung Bauermann To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org In-Reply-To: <20080505144606.GA32577@caradoc.them.org> References: <20080429155212.444237503@br.ibm.com> <20080429155304.288626880@br.ibm.com> <1209963038.25743.14.camel@localhost.localdomain> <20080505131026.GB27076@caradoc.them.org> <1209996380.25743.25.camel@localhost.localdomain> <20080505144606.GA32577@caradoc.them.org> Content-Type: text/plain Date: Sun, 11 May 2008 22:24:00 -0000 Message-Id: <1210542361.617.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00368.txt.bz2 On Mon, 2008-05-05 at 10:46 -0400, Daniel Jacobowitz wrote: > On Mon, May 05, 2008 at 11:06:20AM -0300, Thiago Jung Bauermann wrote: > > > Maybe we just want > > > --with-python, --without-python, and --with-python=/path. > > > > The last one isn't implemented by the AC_ARG_WITH option, IIUC. I'd have > > to explicitly implement it. > > Right. I just noticed that configure doesn't offer -prefix, -include or -lib options to any of the libraries GDB currently uses, including recently added ones. Does it have to be different for the Python library? > One which adds -L${withval}/lib and -I${withval}/include > works 99% of the time, and the user can fiddle CFLAGS/LDFLAGS for > the other cases. Perhaps fiddling with CFLAGS/LDFLAGS is enough anyway? -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center