Wednesday, August 15, 2018

iperf3 cross compile w/ buildroot

./configure --host=arm-linux CC=/home/xxxx/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc CXX=/home/xxxx/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-g++ CFLAGS=-static CXXFLAGS=-static

vi src/Makefile.in
- remove -pg
Otherwise, it will fail with gcrt1.o...

make

single output file
src/iperf3


No comments:

Post a Comment