主要参考了两篇博文:http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html和http://wiki.woodpecker.org.cn/moin/LeoJay/HOWTOCrossCompilePythonForARM 1. 交叉编译Python
见Cross Compiling Python for Embedded Linux
Building SQLLite and other dependancies
Thanks to Lothsahn’s 2.7.3 patch, it is now possible to build sqlite3, bz2, gz, ssl and ctypes. Lothsahn provides the following instructions:
To do the compilation, the dependencies must be in the include and lib folder one path up from the python install. For example:
/include