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


"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.

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

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!