放上來希望對路過的人有所幫助 :)
How to compile and install iperf for Android platform ? Please follow up below :
1.Please download iperf source code :
http://linux.softpedia.com/get/System/Networking/Iperf-23581.shtml
We can get the iperf-2.0.4 version.
2.Congiure and setting environment then make :
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ ./configure --host=arm-none-linux-gnueabi ac_cv_func_malloc_0_nonnull=yes CXXFLAGS=-static CFLAGS=-static
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ make
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ cd src
Now we can see the iperf execute binary file,please copy to android in file system.
Note : Please check attached file,this is i have compile iperf binaries and source code.
Can use the android platform.
3.How to use iperf
1.If you PC is Windows system,please get the execute file from this site :
http://www.noc.ucf.edu/tools/iperf/iperf.exe
If Linux system,install just download the iperf :
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ ./configure
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ make install
2.Host(PC) please command :
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ iperf -s &
And client please command :
dicky@dicky-ubuntu804:~/3tools/iperf-2.0.4$ iperf -c
More deatil info,please search and check web site below :
http://dev.firnow.com/course/6_system/linux/Linuxjs/2008912/142232.html
No comments:
Post a Comment