This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] ignore PYTHONHOME environment variable.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Sat, 15 Jan 2011 12:09:17 +0100
- Subject: Re: [RFA] ignore PYTHONHOME environment variable.
- References: <20101123030037.GA19962@host0.dyn.jankratochvil.net> <AANLkTiko2FVL+ktF9JTBRedYz_wvsq_eP4rU3rLcOYmF@mail.gmail.com> <20101123163045.GA1737@host0.dyn.jankratochvil.net> <AANLkTi=W+PnwOfNkRRe5OMz0qm5vCghhduO5ve1Qk3zH@mail.gmail.com> <20101123173054.GW2634@adacore.com> <20101214071210.GQ2596@adacore.com> <20101214092645.GA20415@host0.dyn.jankratochvil.net> <20101214103305.GU2596@adacore.com> <20110113205504.GL2504@adacore.com> <AANLkTikf7JZPOVpS6RdP5OdT2LAW6xwk_E_XoANvng9A@mail.gmail.com>
On Sat, 15 Jan 2011 08:55:59 +0100, Doug Evans wrote:
> if GDB_PYTHONHOME provided
> use it
> elseif PYTHONHOME provided
> use it
> else
> use default
> endif
>
> That way a user can provide a PYTHONHOME and gdb will use it. But if
> it is incompatible with the python that gdb is using, they can still
> have PYTHONHOME - they just need to set GDB_PYTHONHOME too.
I find this setup fine, Joel had some disagreements with it.
Thanks,
Jan