configure error cannot run c compiled programs 解決辦法

參考:https://blog.csdn.net/shuckstark/article/details/7732166

出現的錯誤:

checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/home/programming/bootloader/blob-xscale/blob-xscale':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

解決方案:

由原來的設置

./configure --host=arm-linux-androideabi

改爲:

./configure --host=arm

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章