471,873 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,873 software developers and data experts.

cross-compilation

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
Aug 6 '08 #1
1 1315
What about to start to resolve issues step by step ?

The first step surely should be to get the autoconf issue resolved.

I don't think distutils cross-compilation is going to work, instead,
people wishing to cross-compile should edit Modules/Setup.

Regards,
Martin
Aug 7 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by rollasoc | last post: by
1 post views Thread by Rob Woodworth | last post: by
6 posts views Thread by Bart Van der Donck | last post: by
6 posts views Thread by ampo | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.