cross-compilation

Roumen Petrov bugtrack at roumenpetrov.info
Wed Aug 6 17:50:44 EDT 2008


Hi list members,

It seems to me that this is discussed many times in the past but without 
  progress. As I understand in general there is no objections and 
preferred cross-compilation has to be based on distutils (scons was 
rejected).

So I would like to cross-compile from linux(build system) to the 
mingw(host system) and note some(many) problems:

- the configure script don't support cross-compilation:
   The first is lack of macro AC_CANONICAL_HOST.
   Next is AC_TRY_RUN with two arguments.

- native mingw build isn't supported well:
   As example updated ifdefs from issue 1412448 aren't in the code. The 
posixmodule.c is required and I expect native build to fail. May be same 
for pwdmodule.c.

- the build process may require python installed on build system and the 
"distutils" may be isn't aware that cross-compilation is requested. In 
general isn't possible to run on build platform executable just build 
for host platform. Linux plus emulator is an exception.

What about to start to resolve issues step by step ?

Roumen



More information about the Python-list mailing list