交叉編譯節儉試過這個命令來配置節儉,我如何爲ARM
./configure CXX=arm-linux-gnueabi-g++ CC=arm-linux-gnueabi-gcc --prefix=/arms/thrift --host=arm-linux-gnueabi --with-cpp --with-boost=/path-to-boost-for-arm
,並符合以下錯誤味精
checking for boostlib >= 1.40.0... yes checking for libevent >= 1.0... configure: error: in `/arms/thrift-0.9.0': configure: error: cannot run test program while cross compiling
有沒有什麼解決辦法嗎?