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/
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/
nice!!!!!!!!!!!!!!!!!!!!!!!!!!
ReplyDeleteFantastic!
ReplyDeleteFantastic! Thanks!
ReplyDeletethis is not static binary in output I only got a dynamic
ReplyDelete