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