EmbDev.net

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


Author: Hema Perumal (indira)
Posted on:

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

Author: Joel Jomed (jomed)
Posted on:

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

Author: Jim Larson (doctek)
Posted on:

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

Author: Jim Larson (doctek)
Posted on:

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

Author: Michael Fischer (mifi)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.