This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rpetrov
Recipients rpetrov
Date 2008-09-01.21:49:14
SpamBayes Score 4.08055e-09
Marked as misclassified No
Message-id <>
This is minimal patch that add basic cross-compilation possibilities for
python build (configure script).

The patch add macro AC_CANONICAL_HOST.
This macro require files config.guess, config.sub. The patch don't
include them. You may obtain them from GNU automake tarbal.

As result of macro new variable $host ("host triplet":=cpu-verdor-os) is
used to detect so called "host system".

Since this is basic patch, detection of build system in native builds
based on $ac_sys_system and/or $ac_sys_release isn't replaced. This
detection isn't appropriate for cross-compilation environment as contain
values for "build system" and has to be replaces in addition by future

Also the patch posted in (about
environment variable MACHDEP) isn't required for native builds, but will
help in case of cross-compilation.
Date User Action Args
2008-09-01 21:49:19rpetrovsetrecipients: + rpetrov
2008-09-01 21:49:19rpetrovsetmessageid: <>
2008-09-01 21:49:18rpetrovlinkissue3754 messages
2008-09-01 21:49:18rpetrovcreate