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.

classification
Title: configure script fails with cross-compiler (PR#228)
Type: enhancement Stage:
Components: Build Versions:
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, nobody
Priority: low Keywords:

Created on 2000-08-01 21:14 by anonymous, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Messages (3)
msg764 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-08-01 21:14
Jitterbug-Id: 228
Submitted-By: dean@dragonsys.com
Date: Wed,  8 Mar 2000 15:36:00 -0500 (EST)
Version: 1.5.2
OS: Linux


I was trying to build python with a cross-compiler, so I put my cross-compiler
bin directory in the front of my path and executed the configure script. The
fact that a cross-compiler was being used was detected correctly, causing it to
fail later on at line 1922:
    { echo "configure: error: can not run test program while cross compiling"
1>&2; exit 1; }

This is a bug in configure, isn't it?





====================================================================
Audit trail:
Mon Apr 03 18:37:06 2000	guido	moved from incoming to request
msg765 - (view) Author: Nobody/Anonymous (nobody) Date: 2000-08-01 21:14
From: Guido van Rossum <guido@python.org>
Subject: Re: [Python-bugs-list] configure script fails with cross-compiler (PR#228)
Date: Wed, 08 Mar 2000 22:19:12 -0500

> I was trying to build python with a cross-compiler, so I put my cross-compiler
> bin directory in the front of my path and executed the configure script. The
> fact that a cross-compiler was being used was detected correctly, causing it to
> fail later on at line 1922:
>     { echo "configure: error: can not run test program while cross compiling"
> 1>&2; exit 1; }
> 
> This is a bug in configure, isn't it?

Depends on your point of view.  It's a restriction that the configure
doesn't work with a cross compiler, because there are a bunch of tests
for which it needs to run code to determine the outcome.

If you want to contribute patches to configure.in to supply defaults
(I think there are 6-8 cases) that would be approciated.  See
python.org/patches/.

Cheers,

--Guido van Rossum (home page: http://www.python.org/~guido/)

msg766 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2000-10-05 15:38
I'm not sure what changes to configure are necessary to support cross compiling, but if we decide to fix this, it shouldn't be until after 2.0 final.

I've added this feature request to PEP 42, under the Building and Installing section.  Closing this bug.
History
Date User Action Args
2022-04-10 16:02:13adminsetgithub: 32837
2000-08-01 21:14:18anonymouscreate