Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Mac install issue - not found in PATH (http://www.chiefdelphi.com/forums/showthread.php?t=141664)

bob.wolff68 01-13-2016 06:56 PM

Mac install issue - not found in PATH
 
After doing an install via screensteps live, I was unable to get a build to work. I kept getting errors about the gnu cross compiler not being found

Code:

"arm-frc-linux-gnueabi-g++" not found in PATH
Then I realized this was ONLY impacting my OLD projects and not a new sample project...

ADDITIONALLY, I have seen the same issue others surrounding doing a 'clean' and the console says 'rm' was not found.

On my Mac, 'rm' is found in /bin
On my Mac, 'arm-frc-linux-gnueabi-g++' is found in /usr/local/bin

So, here's the solution:
Go to 'preferences' and select C++->Build->Environment :
Click on 'Add...'
Set 'Name' to 'PATH'
Set 'Value' to '/usr/local/bin:/bin'


Restart Eclipse

Now 'Clean' should work and 'Build' should work on old and new projects.

rsaccone 01-13-2016 07:06 PM

Re: Mac install issue - not found in PATH
 
Hi,

Thanks for the info. Having a similar issues on Windows but as you know Windows doesn't have a built-in rm command to reference. Any idea what should be done on the Windows to rectify?

Regards,
Rob Saccone

bob.wolff68 01-13-2016 07:27 PM

Re: Mac install issue - not found in PATH
 
Specifically for the 'rm' issue I do not know.
With respect to similar 'not found in PATH' issues, it seems there are two categories of trouble:
1) Toolchain was not installed - re-install
2) If the complaint is ONLY about g++/gcc and NOT the arm cross compiler arm-frc-...g++, then this I've heard is a by-product of simulation and not having MinGW installed. The g++/gcc problem is actually NOT a problem from what others have said - it does not prevent your actual compilation from happening. But if you want to get rid of it, install MinGW or change the command and prepend the arm-frc-* portion (see another post for the steps as I'm not doing justice to the detail here)

Good luck!


All times are GMT -5. The time now is 09:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi