Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » arm-linux-gnueabihf-g++ "not found " error (Cannos find crossfompiler)
arm-linux-gnueabihf-g++ "not found " error [message #1844142] Thu, 02 September 2021 19:31 Go to next message
Anne Ranch is currently offline Anne RanchFriend
Messages: 57
Registered: October 2020
Member
No Message Body

[Updated on: Fri, 03 September 2021 19:18]

Report message to a moderator

Re: arm-linux-gnueabihf-g++ "not found " error [message #1844149 is a reply to message #1844142] Fri, 03 September 2021 08:27 Go to previous messageGo to next message
David VavraFriend
Messages: 1407
Registered: October 2012
Senior Member
You seem to be having a lot of trouble with this.
It's really quite simple.

The path is the specific directory containing the compiler.
It usually ends in /bin.
It's unlikely that the compiler would be found in the top directory /usr.
In fact, your ls shows that it is not.
It's likely in /usr/arm-linux-gnueabihf or a subdirectory.

The prefix is used to modify the name of the compilers from the ones specified in the Eclipse settings which are usually gcc and g++

The compiler used will be:
<path>/<prefix>g++ or
<path>/<prefix>gcc

assuming the compiler specified in the tool settings: is g++ or gcc.


[Updated on: Fri, 03 September 2021 08:52]

Report message to a moderator

Re: arm-linux-gnueabihf-g++ "not found " error [message #1844778 is a reply to message #1844149] Fri, 24 September 2021 17:04 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 686
Registered: August 2014
Senior Member
The OP seems to have a lot of difficulties, partially because she is pretty careful in telling details.
I guess that she's attempting to cross-compile applications for Raspberry Pi, using Ubuntu Linux as the host machine. The situation needs more than the compiler, due to the fact that the Linux target is using dynamic shared libraries.

I have set up a cross-development toolset on an Kubuntu 20.04 Linux machine, targeting a Raspbian Buster Linux. There are notes how to do it. Should I make them publishable here?


--

Tauno Voipio
Re: arm-linux-gnueabihf-g++ "not found " error [message #1844779 is a reply to message #1844778] Fri, 24 September 2021 17:21 Go to previous message
David VavraFriend
Messages: 1407
Registered: October 2012
Senior Member
Wouldn't hurt but probably should be in the Eclipse wiki.
Previous Topic:[Solved] Cannot understand toolchain configuration
Next Topic:No paths in 'Hello World' example
Goto Forum:
  


Current Time: Sun Dec 05 21:54:38 GMT 2021

Powered by FUDForum. Page generated in 0.01175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top