Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure script fails with cross-compiler (PR#228) #32837

Closed
anonymous mannequin opened this issue Aug 1, 2000 · 3 comments
Closed

configure script fails with cross-compiler (PR#228) #32837

anonymous mannequin opened this issue Aug 1, 2000 · 3 comments
Assignees
Labels
build The build process and cross-build type-feature A feature request or enhancement

Comments

@anonymous
Copy link
Mannequin

anonymous mannequin commented Aug 1, 2000

BPO 210836
Nosy @warsaw

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/warsaw'
closed_at = <Date 2000-10-05.15:38:10.000>
created_at = <Date 2000-08-01.21:14:18.000>
labels = ['type-feature', 'build']
title = 'configure script fails with cross-compiler (PR#228)'
updated_at = <Date 2000-10-05.15:38:10.000>
user = 'https://bugs.python.org/anonymous'

bugs.python.org fields:

activity = <Date 2000-10-05.15:38:10.000>
actor = 'barry'
assignee = 'barry'
closed = True
closed_date = None
closer = None
components = ['Build']
creation = <Date 2000-08-01.21:14:18.000>
creator = 'anonymous'
dependencies = []
files = []
hgrepos = []
issue_num = 210836
keywords = []
message_count = 3.0
messages = ['764', '765', '766']
nosy_count = 2.0
nosy_names = ['nobody', 'barry']
pr_nums = []
priority = 'low'
resolution = 'later'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue210836'
versions = []

@nobody
Copy link
Mannequin

nobody mannequin commented Aug 1, 2000

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

@anonymous anonymous mannequin closed this as completed Aug 1, 2000
@anonymous anonymous mannequin assigned warsaw Aug 1, 2000
@anonymous anonymous mannequin added build The build process and cross-build type-feature A feature request or enhancement labels Aug 1, 2000
@anonymous anonymous mannequin closed this as completed Aug 1, 2000
@anonymous anonymous mannequin assigned warsaw Aug 1, 2000
@anonymous anonymous mannequin added build The build process and cross-build type-feature A feature request or enhancement labels Aug 1, 2000
@nobody
Copy link
Mannequin

nobody mannequin commented Aug 1, 2000

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/)

@warsaw
Copy link
Member

warsaw commented Oct 5, 2000

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant