EmbDev.net

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


von David V. (Company: itcr) (david_tec)


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,

von Martin T. (mthomas) (Moderator)


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).

von David V. (Company: itcr) (david_tec)


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,

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.