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.080552e-09
Marked as misclassified No
Message-id <1220305759.82.0.468834426074.issue3754@psf.upfronthosting.co.za>
In-reply-to
Content
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
patches.


Also the patch posted in http://bugs.python.org/issue3718 (about
environment variable MACHDEP) isn't required for native builds, but will
help in case of cross-compilation.
History
Date User Action Args
2008-09-01 21:49:19rpetrovsetrecipients: + rpetrov
2008-09-01 21:49:19rpetrovsetmessageid: <1220305759.82.0.468834426074.issue3754@psf.upfronthosting.co.za>
2008-09-01 21:49:18rpetrovlinkissue3754 messages
2008-09-01 21:49:18rpetrovcreate