[issue1597850] Cross compiling patches for MINGW
John Stowers
report at bugs.python.org
Mon Dec 10 05:23:19 CET 2007
John Stowers added the comment:
Hello,
I recently tried this in combination with jhbuild, cross compiling with
mingw (to built some python gtk extensions). I tried you patch against
the 2.5.1 version and recieved the following error:
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for %zd printf() format support... configure: error: cannot run
test program while cross compiling
See `config.log' for more details.
*** error during stage configure of python25: ########## Error running
./configure --prefix /home/john/jhbuild/win32/build/
--build=i686-pc-linux-gnuaout --host=i586-pc-mingw32msvc
--target=i586-pc-mingw32msvc --disable-docs --enable-all-warnings
AR="/usr/bin/i586-mingw32msvc-ar"
RANLIB="/usr/bin/i586-mingw32msvc-ranlib"
STRIP="/usr/bin/i586-mingw32msvc-strip"
AS="/usr/bin/i586-mingw32msvc-as"
DLLTOOL="/usr/bin/i586-mingw32msvc-dlltool"
OBJDUMP="/usr/bin/i586-mingw32msvc-objdump"
NM="/usr/bin/i586-mingw32msvc-nm"
WINDRES="/usr/bin/i586-mingw32msvc-windres" *** [1/1]
I noticed that the other reference for cross compiling pthon 2.5 at
http://whatschrisdoing.com/blog/2006/10/06/howto-cross-compile-python-25/
patched this check out
----------
nosy: +nzjrs
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1597850>
_____________________________________
More information about the Python-bugs-list
mailing list