Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@codesourcery.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Help python find its files
Date: Mon, 08 Feb 2010 19:56:00 -0000	[thread overview]
Message-ID: <20100208195627.GA16662@caradoc.them.org> (raw)
In-Reply-To: <20100208192942.D971F84415@ruffy.mtv.corp.google.com>

On Mon, Feb 08, 2010 at 11:29:42AM -0800, Doug Evans wrote:
> Hi.
> 
> We had problems with python not being able to find its files.
> This may be specific to installations where gdb and python
> are installed in different places.
> 
> 2010-02-08  Doug Evans  <dje@google.com>
> 
> 	* configure.ac (--with-python): Define WITH_PYTHON_PATH if
> 	--with-python arg is a path.
> 	* config.in: Regenerated.
> 	* configure: Regenerated.
> 	* python/python.c (_initialize_python): If configured
> 	--with-python=/path, pass a fake argv[0] to Py_SetProgramName so
> 	python can find its files.

I suspect this patch will break relocatability.  --with-python is a
path on the build system (for -I and -L), not a path on the host
system.


-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2010-02-08 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08 19:30 Doug Evans
2010-02-08 19:56 ` Daniel Jacobowitz [this message]
2010-02-08 20:05   ` Doug Evans
2010-02-08 20:09     ` Daniel Jacobowitz
2010-02-08 21:07 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100208195627.GA16662@caradoc.them.org \
    --to=dan@codesourcery.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox