$ git clone https://github.com/traviscross/mtr.git
$ ./bootstrap.sh
$ ./configure --prefix=/home/xxx/Documents/share/mtr/host CC=/home/xxx/Documents/share/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --host=arm-linux-gnueabihf
$ make
$ sudo make install
$ tree ./host/
./host/
├── sbin
│
├── mtr
│
└── mtr-packet
└── share
└── man
└── man8
├── mtr.8
└── mtr-packet.8
4 directories, 4 files
#test
$ mtr www.baidu.com
Start: 2021-03-30T08:13:58+0000
HOST: aaaa
Loss%
Snt
Last
Avg
Best
Wrst StDev
1.|-- bbbb.lan
0.0%
10
0.6
0.6
0.6
0.7
0.0
2.|-- 192.168.7.1
0.0%
10
1.0
0.9
0.8
1.2
0.1
3.|-- ???
100.0
10
0.0
0.0
0.0
0.0
0.0
4.|-- 192.168.2.1
0.0%
10
2.3
7.2
1.7
54.4
16.6
5.|-- ???
100.0
10
0.0
0.0
0.0
0.0
0.0
最后
以上就是彪壮手套最近收集整理的关于MTR交叉编译的全部内容,更多相关MTR交叉编译内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复