/bin/sh: arm-elf-as: command not found [message #1722934] |
Wed, 10 February 2016 06:11  |
Eclipse User |
|
|
|
Hello,
I have some issue with building an ARM demo code.
What i'm running is Eclise Helios with Zyling CDT, yagarto tools, OpenOCD 0.6.1, Cygwin
basically i downloaded Olimex OpenOCD Development Tools (which included all of the above) as i need to debug a SAM7-EX256 board.
After building the project i get the message - "/bin/sh: arm-elf-as: command not found"
I tried to google but couldn't find any solutions to this issue, also i'm running windows 7, all path environment's are added.
I can build simple stuff like "Hello World" without a problem.
Here's what i get when i try to build my source file for the ARM:
make -j all
Building file: ../MyNewEmpty.c
Building file: ../crt.asm
Invoking: Cygwin C Compiler
arm-elf-gcc -I"C:\Progra~1\yagarto\arm-elf\include" -I"C:\OlimexODS\examples\LIB_AT91SAM7" -I"C:\OlimexODS\examples\LIB_LCDGE8" -I"C:\OlimexODS\examples\LIB_SAM7EX256" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"MyNewEmpty.d" -MT"MyNewEmpty.d" -o"MyNewEmpty.o" "../MyNewEmpty.c"
/bin/sh: arm-elf-gcc: command not found
Invoking: GCC Assembler
make: *** [MyNewEmpty.o] Error 127
arm-elf-as -o"crt.o" "../crt.asm"
subdir.mk:22: recipe for target 'MyNewEmpty.o' failed
make: *** Waiting for unfinished jobs....
subdir.mk:29: recipe for target 'crt.o' failed
/bin/sh: arm-elf-as: command not found
make: *** [crt.o] Error 127
If anyone can help me with this will be greatly appreciated !
Thank you.
[Updated on: Wed, 10 February 2016 06:17] by Moderator
|
|
|
|
|
|
|
|
|
|
|
Re: /bin/sh: arm-elf-as: command not found [message #1722983 is a reply to message #1722979] |
Wed, 10 February 2016 11:15  |
Eclipse User |
|
|
|
A few comments:
1- You are still passing a full path to GCC, you said you updated the PATH so that it would work from the PATH, I am trying to have you test that by doing arm-none-eabi-gcc to see if it runs from the PATH without specifying full directory to gcc.
2- It was supposed to be --version, i.e. to get the version of gcc you are using, not very important as key thing was to see if gcc was found on the path
3- Please copy and paste console output into your message, pasting with[code]terminal stuff here[/code] around it to keep it fixed with font. This allows me to see the output without looking at the image and, more importantly, I can copy/paste the input/output.
|
|
|
Powered by
FUDForum. Page generated in 0.09907 seconds