FYI: update for Python 2.7

Tom Tromey tromey@redhat.com
Tue Jul 27 16:10:00 GMT 2010


>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:

Michael> Sorry, --with-python=/build/toolchain/lin32/python-2.6

Michael> Which is of course a local install location.

Try --with-python=/build/toolchain/lin32/python-2.6/bin/python.
I don't think my 2.7 patch changed this, it was an earlier change.

>From gdb/configure.ac:

dnl There are several different values for --with-python:
[...]
dnl /path/to/python/exec-prefix -
dnl        Use the python located in this directory.
dnl        If /path/to/python/exec-prefix/bin/python exists, use it to find
dnl        the compilation parameters.  Otherwise use
dnl        -I/path/to/python/exec-prefix/include,
dnl        -L/path/to/python/exec-prefix/lib.
dnl        Python 2.6, 2.5, and then 2.4 are tried in turn.
dnl        NOTE: This case is historical.  It is what was done for 7.0/7.1
dnl        but is deprecated.
dnl /path/to/python/executable -
dnl        Run python-config.py with this version of python to fetch the
dnl        compilation parameters.

Tom



More information about the Gdb-patches mailing list