Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Program "XXXg++" not found in path (Cross compiler Path is not found)
Program "XXXg++" not found in path [message #1793324] Sat, 04 August 2018 06:51 Go to next message
Mobin  P K is currently offline Mobin P KFriend
Messages: 1
Registered: August 2018
Junior Member

I am compiling a sample code with ARM cross compiler tool chain "arm-cortexa8-linux-gnueabihf".
but during building the following errors are showing.

Program "arm-cortexa8-linux-gnueabihfg++" not found in PATH
Program "arm-cortexa8-linux-gnueabihfgcc" not found in PATH

I have included the Cross Settings in Project Properties as

Prefix : arm-cortexa8-linux-gnueabihf
Path : root/arm-cortexa8-linux-gnueabihf/bin

Please respond me with a solution to avoid these errors.
Is there anything I have to include in any configuration settings ?

thanks & regards
Mobin P K
Re: Program "XXXg++" not found in path [message #1793404 is a reply to message #1793324] Tue, 07 August 2018 15:05 Go to previous message
David VavraFriend
Messages: 804
Registered: October 2012
Senior Member
It's been a while since I've used ARM but , if I recall correctly, your prefix is missing a trailing '-'.
The compiler name I think should be: "arm-cortexa8-linux-gnueabihf-gcc"
assuming the rest of the prefix is correct, that is.

Also: do you really mean a relative path to the cross-compile bin directory?
If so, it has to be relative to the working directory being used.

Open a command terminal and try executing it to be sure.

[Updated on: Wed, 08 August 2018 01:17]

Report message to a moderator

Previous Topic: "make" is not found in PATH hello
Next Topic:Updating Expressions in a C++ program using the CDT without eclipse
Goto Forum:

Current Time: Mon Nov 19 23:37:03 GMT 2018

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

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

Back to the top