EmbDev.net

Forum: ARM programming with GCC/GNU tools Help path yagarto and eclipse


Author: David Venegas (Company: itcr) (david_tec)
Posted on:

Rate this post
0 useful
not useful
Hi!

I read the tutorial by j.lynch: "Using Open Source Tools for AT91SAM7S 
Cross Development revision C" for to use the eclipse editor, but I have 
a problem.

I installed all requirements, like the tutorial explain. When I try to 
"build all", appear the follow message in the console window:

make -k all
arm-elf-as -mapcs-32  -o crt.o crt.s
arm-elf-gcc -mcpu=arm7tdmi -I./ -c -fno-common -O0 -g 
-fomit-frame-pointer -Wcast-align    -c -o main.o main.c
arm-elf-gcc: CreateProcess: No such file or directory
make: *** [main.o] Error 1
arm-elf-gcc -mcpu=arm7tdmi -I./ -c -fno-common -O0 -g 
-fomit-frame-pointer -Wcast-align    -c -o lowlevelinit.o lowlevelinit.c
arm-elf-gcc: CreateProcess: No such file or directory
make: *** [lowlevelinit.o] Error 1
make: Target `all' not remade because of errors.

I think the problem is the path, but I don't know like resolve the 
situation.

I really appreciate the help.
Best Regards,

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Open an input-prompt (cmd.exe) and type avr-elf-gcc --version
If you get a "...not found..." error check the path environment variable
As far as I know the Yagarto Installer adjusts the search-path so it 
includes the path the the arm-elf-* binaries (Control 
Panel->System->Extended->Environment Variables).

Author: David Venegas (Company: itcr) (david_tec)
Posted on:

Rate this post
0 useful
not useful
Thanks!

When I put the command avr-elf-gcc --version, it's the result:

"avr-elf-gcc" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

But, when I put the command arm-elf-gcc --version, it's the result:

arm-elf-gcc (GCC) 4.2.1
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is 
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

However the is the same result in the console window in Eclipse Editor, 
when I try to clean, and build all the project.

Best Regard,

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.