Compile Loongson MIPS version of real-time network monitoring tool nload

Source code acquisition

Use git to check out the source code

git clone https://github.com/rolandriegel/nload.git

Compile nload in Loongson mips

Compilation environment description
System: 中标麒麟
Platform: mipsel64
Compiler:gcc version 4.4.7

Compile

cd nload
./run_autotools 
./configure --prefix=/opt/nload
make instll 

Cross-compile Loongson MIPS64 version nload (compilation not completed)

Note : The following steps indicate that the'ncurses' dynamic library is missing. You need to compile the MIPS version of the'ncurses' dynamic library first, and then update it later.
Compilation environment description
System: deepin V20
Platform: x86_64
Cross compiler:gcc-4.4.7-7215-n64-loongson

Compile

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 

Guess you like

Origin blog.csdn.net/macaiyun0629/article/details/108152698