X264在龙芯3A5000的编译

X264在龙芯3A5000的编译

 

修改方法

1)./configure 执行配置脚本,若出现“configure: error: cannot guess build type; you must specify one”
执行2)步骤,如果未出现报错,直接编译安装。
2)修改源码包中的配置文件config.guess。增加loongarch选项:
loongarch*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
增加位置:“mips*:Linux:*:*)”语句之前。大概838 --h
3)./configure
4) make && make install

默认是编译成静态库

编译成动态库
./configure --disable-asm --enable-shared --enable-pic

 

https://www.cnblogs.com/loongson-artc-lyc/p/15250580.html

posted on 2023-01-23 12:46  zxddesk  阅读(129)  评论(0编辑  收藏  举报

导航