1、Have your cross compilers in your current $PATH
2、Set the CC and CXX environment variables to point to the cross compilers
3、Give the right –host and –build
http://stackoverflow.com/questions/15234959/cross-compiling-for-arm-with-autoconf
https://wiki.wxwidgets.org/Cross-Compiling_Under_Linux
We can also use this shell syntex:
CXX=arm-linux-gnueabi-g++ CC=arm-linux-gnueabi-gcc ./configure –prefix=/home/xxx/arm/dist/ –host=arm-linux-gnueabi