arm9 eclipse beginner- compiler problem

OP #1174669
i am working on At91sam9263-EK. i downloaded getting staterted
application code from atmel web. While compiling it in eclipse 3.81,
with yagarto/bin/arm-elf-gcc , i get the error like ""C:/Program
Files/openocd-r717/utils/bin/sh.exe": C:Program: command not found make:
*** [sdram] Error 127"

why this error is comming? at first level, i would like to compile
without openocd. can any one help me out?

thanks in advance.
#1174670
I faced it too few months ago!
De-install and try to re-install all the Yagarto soft (gcc, ide and
openOcd) in a folder wich name does not include any space ("Program
Files" does include a space!).
Hope it will help you.
Regards,
Joel

hema perumal wrote:
> i am working on At91sam9263-EK. i downloaded getting staterted
> application code from atmel web. While compiling it in eclipse 3.81,
> with yagarto/bin/arm-elf-gcc , i get the error like ""C:/Program
> Files/openocd-r717/utils/bin/sh.exe": C:Program: command not found make:
> *** [sdram] Error 127"
>
> why this error is comming? at first level, i would like to compile
> without openocd. can any one help me out?
>
> thanks in advance.
#1233118
I have uninstalled ocd and yagarto as suggested and reinstalled them 
into D:\ARM_TOOLS (no spaces in name). I still get the same error:
arm-elf-gcc -x assembler-with-cpp -c -mcpu=arm7tdmi -g -gdwarf-2 
-Wa,-amhls=src/crt.lst   src/crt.s -o src/crt.o
make: arm-elf-gcc: Command not found
make: *** [src/crt.o] Error 127

Can any one suggest what to try next? I really want this all to work!

Thanks.
#1233151
Maybe this will save folks some time.

I did some more experimenting and managed to get things working. I 
apologize for changing two things at once, but I just need this to work. 
Maybe someone else can do another experiment and tell us which of these 
(maybe both?) are critical. Here's what I did after I uninstalled ocd 
and yagarto:
- login in as administrator.
- install to the directory D:\ARMTOOLS. (I had first tried 
D:\ARM_TOOLS).

The combination worked and the compiler runs without complaint.
#1233190
Hello,

>- login in as administrator.
Sorry, it could be possible that the installer need
the admin rights to add the path to the environment.

The make tool comes with OpenOCD and not with the
toolchain.

Best regards,

Michael

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.