源代码获取
使用git签出源代码
git clone https://github.com/rolandriegel/nload.git
在龙芯mips编译nload
编译环境说明
系统:中标麒麟
平台:mipsel64
编译器:gcc version 4.4.7
编译
cd nload
./run_autotools
./configure --prefix=/opt/nload
make instll
交叉编译龙芯MIPS64版nload(未完成编译)
说明:以下步骤提示缺少‘ncurses’动态库,需要先编译MIPS版‘ncurses’动态库,后续更新。
编译环境说明
系统:deepin V20
平台:x86_64
交叉编译器:gcc-4.4.7-7215-n64-loongson
编译
cd nload
./run_autotools
CC="~/App/gcc-4.4.7-7215-n64-loongson/usr/bin/mips64el-redhat-linux-gcc" ./configure --prefix=/opt/nload --host=mips64
make CROSS_COMPILE=mips-linux-gnu- -j4
make install