mipsle交叉编译pth

来源:互联网 发布:淘宝店铺怎么导入模板 编辑:程序博客网 时间:2024/05/24 23:14

1. 修改configure文件:

cross_compiling=yes

2.运行

export CC="/opt/crosstool/mipsel-unknown-linux-gnu/gcc-3.3.3-glibc-2.2.5/bin/mipsel-unknown-linux-gnu-gcc"

./configure --prefix /home/frank/pth --host mips-linux --with-endianness=little --enable-pthread

make

make install

编译的输出在/home/frank/pth目录下

原创粉丝点击