iperf3 compilation for ARM in Ubuntu

For compiling for ARM target board

Get the cross compiler details and pass it as argument to the configure script. I used iperf-3.1.3
Below method is for building iperf3 as static, so that we need to push only the iperf3 binary , without any shared libraries

First this assumes you had set the ARM compiler in the path

cd iperf-3.1.3/

1) ./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ CFLAGS=-static CXXFLAGS=-static --enable-static --prefix=`pwd`/output

2) make install

the binary will be available inside output/bin/


Post a Comment

Popular posts from this blog

phpbb3 Forum not showing after creating