操作系统和CPU架构
[root@xxx]# cat /etc/os-release | grep -w NAME
NAME="NeoKylin Linux Server"
[root@xxx]# lscpu | egrep "Arch|Model"
Architecture: mips64el
Model name: ICT Loongson-3A R3 (Loongson-3B3000) @ 1450MHz
[root@xxx]# gcc --version
gcc (GCC) 4.9.3 20150626 (NeoKylin 4.9.3-5)
下载
编译过程
直接按照文档指示./configure; make; make install
去编译,会有报错
configure: error: cannot guess build type; you must specify one
--> 识别不到操作系统,参考博文,需要通过 --build 指定编译平台的架构,故完整的编译为
./configure --build=mips64el; make; make install
编译后的二进制文件下载