classification
Title: minimal cross-compilation support for configure
Type: feature request Stage:
Components: Build Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rpetrov, victorpoluceno (2)
Priority: Keywords patch

Created on 2008-09-01 21:49 by rpetrov, last changed 2009-11-04 22:04 by rpetrov.

Files
File name Uploaded Description Edit Remove
python-trunk-20090722-CROSS.patch rpetrov, 2009-07-22 20:07
python-trunk-20091104-CROSS.patch rpetrov, 2009-11-04 22:04
Messages (2)
msg72299 - (view) Author: Roumen Petrov (rpetrov) Date: 2008-09-01 21:49
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.
msg77241 - (view) Author: Roumen Petrov (rpetrov) Date: 2008-12-07 18:55
The support for *-*mingw* host is enhanced to native msys environment.
This include check for device file /dev/ptmx. The MSYS report that file
exist. As the check is skipped on mingw* host os now cugwin environment
can be used too.

Also check libintl is skipped for mingw as the native build don't use it.
History
Date User Action Args
2009-11-04 22:04:31rpetrovsetfiles: + python-trunk-20091104-CROSS.patch
2009-07-22 20:08:53rpetrovsetnosy: rpetrov, victorpoluceno
type: feature request
components: + Build
2009-07-22 20:08:29rpetrovsetfiles: - python-trunk-20090612-CROSS.patch
2009-07-22 20:08:22rpetrovsetfiles: - python-trunk-20090415-CROSS.patch
2009-07-22 20:08:12rpetrovsetfiles: - python-trunk.patch-CROSS-20090110
2009-07-22 20:07:34rpetrovsetfiles: + python-trunk-20090722-CROSS.patch
2009-06-12 19:40:50rpetrovsetfiles: + python-trunk-20090612-CROSS.patch
2009-04-17 16:36:57victorpolucenosetnosy: + victorpoluceno
2009-04-15 20:42:10rpetrovsetfiles: - python-trunk-CROSS.patch
2009-04-15 20:41:54rpetrovsetfiles: - python-trunk-CROSS.patch
2009-04-15 20:41:46rpetrovsetfiles: + python-trunk-20090415-CROSS.patch
2009-01-10 18:41:04rpetrovsetfiles: + python-trunk.patch-CROSS-20090110
2008-12-07 18:55:52rpetrovsetfiles: + python-trunk-CROSS.patch
messages: + msg77241
2008-09-30 17:54:09rpetrovsetfiles: - python-trunk-CROSS.patch
2008-09-30 17:53:55rpetrovsetfiles: + python-trunk-CROSS.patch
2008-09-01 21:49:18rpetrovcreate