增加 IPerf3 的交叉编译.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
6103c1d7bf
commit
c9383eb3a1
|
@ -0,0 +1,12 @@
|
|||
# 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 可执行程序.
|
Loading…
Reference in New Issue