[New-bugs-announce] [issue3754] minimal cross-compilation support for configure

Roumen Petrov report at bugs.python.org
Mon Sep 1 23:49:19 CEST 2008


New submission from Roumen Petrov <bugtrack at roumenpetrov.info>:

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.

----------
files: python-trunk-CROSS.patch
keywords: patch
messages: 72299
nosy: rpetrov
severity: normal
status: open
title: minimal cross-compilation support for configure
Added file: http://bugs.python.org/file11337/python-trunk-CROSS.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3754>
_______________________________________


More information about the New-bugs-announce mailing list