./configure --prefix=/home/raomj/Downloads/valgrind --host=arm-linux CC=arm-linux-gnueabihf-gcc CPP=arm-linux-gnueabihf-cpp CXX=arm-linux-gnueabihf-g++
linux
## 錯誤解決 錯誤:ubuntu
checking host system type... arm-unknown-linux-gnu checking for a supported CPU... no (arm) configure: error: Unsupported host architecture. Sorrycode
解決: 須要調整configure腳本就能夠了 具體應該在檢查host_cpu變量里加入匹配arm條件就好了,如原有的armv7*)改爲armv7*|arm)it