diff -r 849826a900d2 README --- a/README Tue Oct 25 21:49:19 2016 -0500 +++ b/README Thu Oct 27 12:14:13 2016 +0200 @@ -85,6 +85,28 @@ performance gains. +Cross Compiling on unix +----------------------- + +The cross-compilation of Python requires a natively installed python to run +Python scripts at multiple stages in the build process. The directory path to +this native python must be set in the $PATH environment variable and it must +have the same package version as the Python source being cross-built (for +example python3.6). + +One way to ensure that the previous rule is followed, is to build the native +python from the same source first. For example when using the bash shell: + + mkdir python-native build install + cd python-native + $(cd /path/to/source && pwd)/configure && make + export PATH=$(pwd):$PATH + cd ../build + $(cd /path/to/source && pwd)/configure --prefix=$(cd ../install && pwd) \ + --host= --build= ... \ + && make install + + What's New ----------