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, 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


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