Help path yagarto and eclipse

OP (Company: itcr) #1429142
Rate this post
• ▲ 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,
Moderator #1431805
Rate this post
• ▲ 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).
OP (Company: itcr) #1432378
Rate this post
• ▲ 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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.