From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8422 invoked by alias); 12 May 2008 16:38:26 -0000 Received: (qmail 8414 invoked by uid 22791); 12 May 2008 16:38:25 -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; Mon, 12 May 2008 16:38:03 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id 759AD3900FE for ; Mon, 12 May 2008 13:23:26 -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 m4CGbsVj2625780 for ; Mon, 12 May 2008 13:37:54 -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 m4CGbgZ4027624 for ; Mon, 12 May 2008 13:37:42 -0300 Received: from [9.18.238.95] (dyn531828.br.ibm.com [9.18.238.95]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m4CGbfop027317; Mon, 12 May 2008 13:37:41 -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: <20080512161111.GA12523@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> <1210542361.617.5.camel@localhost.localdomain> <20080511215110.GA10113@caradoc.them.org> <1210608033.617.8.camel@localhost.localdomain> <20080512161111.GA12523@caradoc.them.org> Content-Type: text/plain Date: Mon, 12 May 2008 21:00:00 -0000 Message-Id: <1210610251.617.13.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/msg00381.txt.bz2 On Mon, 2008-05-12 at 12:11 -0400, Daniel Jacobowitz wrote: > On Mon, May 12, 2008 at 01:00:33PM -0300, Thiago Jung Bauermann wrote: > > The patch 1 in the python series plus the config/override.m4 patch I > > posted in this thread are all that should be needed configure-wise, > > IMHO. > > Sorry, but I was just talking about how to specify paths :-( Ah, ok. I had misunderstood. > I don't think the --with-python2.5, --with-python2.4 options are a > good idea. Me neither, but they will be there as a byproduct of the AC_ macros being used... Can we just pretend they don't exist? > How about --with-python=2.5 and search CPPFLAGS/LDFLAGS > for that version? > > > --with-python unspecified: use it if we find it > --with-python: use it if we find it, else fail. Try 2.5 then 2.4. > --without-python: no python > --with-python=2.5: only try 2.5; else fail > > How does that sound? I liked that, because if you have both installed in the standard places, you can still control which one the build will pick up. In the previous scheme you had to have (say) 2.4 installed in a separate prefix if you wanted to use that. > No need to rework the patch right now if you don't want; I need to > look at the rest of it still :-) Nice. I'll wait the next slot in my copious free time then. :-) -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center