toolchains path: /opt/tda/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/
Step 1:Download && untar
wget https://iperf.fr/download/source/iperf-2.0.8-source.tar.gz
tar -zxvf iperf-2.0.8.tar.gz
Step 2:Export compiler path
cd iperf-2.0.8
export PATH=/opt/tda/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/:$PATH
Step 3:Make Install Dir
mkdir output
Step 4:Configure
./configure --prefix=./output --host=arm-linux-gnueabihf
Step 5:Make && Make install
make && make install
Step 6:Check the output file
file iperf
iperf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=749575ae5bf0ac28901dc790e5c231e777db092d, not stripped