简体   繁体   中英

bin/sh/ 1 arm-linux-gnueabi-g++ not found with eclipse

I'm trying to cross compile with eclipse. newbie on this. My problem:

When I try to build my code it says : bin/sh/ 1 arm-linux-gnueabi-g++ not found

here is my screenshot: 在此处输入图片说明

I had a same problem and i solved. If you copy arm-liunx-guneabi-g++ from Eclipse console and paste to terminal and execute, then you may see same message. like this Ubuntu32bit:~/workspace/HelloWorldTest$ arm-linux-gnueabi​-g++ arm-linux-gnueabi​-g++: command not found

But if you type to terminal using tab, then you may see following message. Ubuntu32bit:~/workspace/HelloWorldTest$ arm-linux-gnueabi-g++ arm-linux-gnueabi-g++: fatal error: no input files compilation terminated.

I don't know Why this happened. It's same string "arm-linux-gnueabi-g++". So solution is that "arm-linux-gnueabi-g++" copy from terminal then paste to Eclipse's project, Properties. Settings -> GCC C++ Compiler GCC C++ Linker

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM