ソースコードの取得
gitを使用してソースコードを確認します
git clone https://github.com/rolandriegel/nload.git
Loongsonmipsでnloadをコンパイルします
コンパイル環境の説明
システム:中标麒麟
プラットフォーム:mipsel64
コンパイラ:gcc version 4.4.7
コンパイル
cd nload
./run_autotools
./configure --prefix=/opt/nload
make instll
Loongson MIPS64バージョンnloadをクロスコンパイルします(コンパイルは完了していません)
注:次の手順は、「ncurses」動的ライブラリが欠落していることを示しています。最初に「ncurses」動的ライブラリのMIPSバージョンをコンパイルしてから、後で更新する必要があります。
コンパイル環境の説明
システム: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