arm-none-eabi-gcc not found [message #908739] |
Wed, 05 September 2012 19:25  |
Eclipse User |
|
|
|
Hello there,
I am trying to setup the tools for debugging and ARM-Cortex M3 microcontroller using Eclipse. I have the project laid out with a custom Makefile and if I build it by simply calling make in the project directory, everything compiles; I flash the binary and it works.
Now, the Makefile uses CodeSourcery Lite tools and explicitly calls for arm-none-eabi-gcc, arm-none-eabi-ld etc. I installed them to /opt/CodeSourcery and modified the PATH so that:
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin/arm:/opt/CodeSourcery/bin
$ ls /opt/CodeSourcery/bin
arm-none-eabi-addr2line arm-none-eabi-gcc-4.5.2 arm-none-eabi-ranlib
arm-none-eabi-ar arm-none-eabi-gcov arm-none-eabi-readelf
arm-none-eabi-as arm-none-eabi-gdb arm-none-eabi-run
arm-none-eabi-c++ arm-none-eabi-gdbtui arm-none-eabi-size
arm-none-eabi-c++filt arm-none-eabi-gprof arm-none-eabi-sprite
arm-none-eabi-cpp arm-none-eabi-ld arm-none-eabi-strings
arm-none-eabi-elfedit arm-none-eabi-nm arm-none-eabi-strip
arm-none-eabi-g++ arm-none-eabi-objcopy
arm-none-eabi-gcc arm-none-eabi-objdump
Now, I cannot understand why Eclipse wouldn't pick up the compiler since the PATH points to the dir where it is.
The error from Eclipse is:
make: arm-none-eabi-gcc: Command not found
|
|
|
|
Re: arm-none-eabi-gcc not found [message #911063 is a reply to message #909464] |
Mon, 10 September 2012 18:48  |
Eclipse User |
|
|
|
Just my two cents, when the installer for CodeSourcery runs, it usually defaulted to the /home/<user>/ directory. Not sure if that is what's keeping the toolchain from being discovered by Eclipse. Might want to try a remove, then reinstall of the CodeSourcery toolchain, this time in the /home/<user>/ directory.
|
|
|
Powered by
FUDForum. Page generated in 0.03945 seconds