Purpose: Porting x86 Linux community tool - Bonnie++ to Android
Steps:
- Download Bonnie++ source code
- Uncompress
- ./configure --host=arm-linux CC=/(your arm-eabi path)/arm-non-linux-gnueabi-g++
- Modify Makefile
- CFLAGS=............ -static
- CXX=(your arm-eabi path)/arm-none-linux-gnueabi-g++ $(CFLAGS)
Execution command: ./bonnie++ -d /path_tobetest -u 1000 -s (test size)
ex: ./bonnie++ -d /sdcard -u 1000 -s 4096
不好意思,可以請問一下your arm-eabi path這要打
回覆刪除什麼嗎?謝謝