用于嵌入式Linux的交叉编译Python - MIPS

时间:2015-04-15 09:30:41

标签: python linux gcc

我尝试使用此网站提供的文档安装适用于MIPS的嵌入式Linux的交叉编译Python - http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html

在步骤CC=ppc_6xx-gcc CXX=ppc_6xx-g++ AR=ppc_6xx-ar RANLIB=ppc_6xx-ranlib ./configure --host=ppc-linux --build=x86_64-linux-gnu --prefix=/python 我的Ubuntu 14.04 LTS显示错误:

checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux3
checking EXTRAPLATDIR... 
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for ppc-linux-gcc... ppc_6xx-gcc
checking whether the C compiler works... no
configure: error: in `/home/user/Downloads/Python-2.7.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

这是我的config.log http://pastebin.com/v125Sc5S

有人有想法,我该如何解决?

0 个答案:

没有答案