EmbDev.net

Forum: ARM programming with GCC/GNU tools arm9 eclipse beginner- compiler problem


von Hema P. (indira)


Rate this post
useful
not useful
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.

von Joel J. (jomed)


Rate this post
useful
not useful
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.

von Jim L. (doctek)


Rate this post
useful
not useful
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.

von Jim L. (doctek)


Rate this post
useful
not useful
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.

von Michael F. (mifi)


Rate this post
useful
not useful
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.