Author martin.panter
Recipients Arfrever, Link Mauve, benjamin.peterson, doko, freakboy3742, georg.brandl, koobs, martin.panter, pitrou
Date 2015-07-30.06:36:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438238184.83.0.25594393351.issue22625@psf.upfronthosting.co.za>
In-reply-to
Content
So is there somewhere that documents how cross compilation is meant to be done? I tried looking at <https://docs.python.org/2/using/unix.html#building-python>, <https://hg.python.org/cpython/file/2.7/README>, and “./configure --help”, but found no hints for cross compilation.

If it is just word-of-mouth, would someone mind explaining to me how it is meant to be done?

The configure script lists CC as a “C compiler command”. But for cross compilation it sounds like you would need to differentiate host and target compilers. From the errors that have been posted, it sounds like you guys may be setting CC to the target compiler, causing the build to try and use the target compiler to build host programs.
History
Date User Action Args
2015-07-30 06:36:24martin.pantersetrecipients: + martin.panter, georg.brandl, doko, pitrou, benjamin.peterson, Arfrever, freakboy3742, koobs, Link Mauve
2015-07-30 06:36:24martin.pantersetmessageid: <1438238184.83.0.25594393351.issue22625@psf.upfronthosting.co.za>
2015-07-30 06:36:24martin.panterlinkissue22625 messages
2015-07-30 06:36:24martin.pantercreate