13 lines
286 B
Markdown
13 lines
286 B
Markdown
|
# IPerf3 的交叉编译
|
||
|
|
||
|
```sh
|
||
|
cd <iperf3 source code path>
|
||
|
# Source SDK 环境变量
|
||
|
source environment-setup-aarch64-poky-linux
|
||
|
# 还可以通过 CXX=arm-uclinux-g++ CC=arm-uclinux-gcc 来指定编译器
|
||
|
./configure --host=arm
|
||
|
make
|
||
|
```
|
||
|
|
||
|
编译成功会生成 iperf3 可执行程序.
|