Yagarto fresh install: make Error 1

Guest #1486737
Rate this post
• ▲ useful
▼ not useful
Hi,

Did a new install of Yagarto and tools. I can compile from the terminal 
just fine, but when I try to compile in Eclipse it outputs this error:

**** Build of configuration Default for project test ****

make all
arm-elf-gcc -x assembler-with-cpp -c -mcpu=arm7tdmi -g -gdwarf-2 
-Wa,-amhls=src/startup.lst   src/startup.s -o src/startup.o
make: arm-elf-gcc: No such file or directory
make: *** [src/startup.o] Error 1

I suspect a path problem, but when I point my terminal to the same 
working directory where the project is, it compiles fine.. Is this error 
pointing to a project file it can't find or the actual toolchain 
command?

FWIW, I am using Mac OS 10.6

Any hints?

Thanks.
Moderator #1487532
Rate this post
• ▲ useful
▼ not useful
I don't have MAC OS running and currently no Eclipse to test with - so 
just a rough hint: at least on MS Win Eclipse offers an option to set 
the environment variables before calling make. Browse a little bit in 
the project-specific and global settings you should find the dialog-tab 
where the environment-variables (incl. path) get configured. If you can 
not find it please ask again and I can at least lock this up in an 
Eclipse running on MS Win.
Guest #1487967
Rate this post
• ▲ useful
▼ not useful
Indeed it was a path problem, I assumed Eclipse would pick up the 
~/.bash_profile settings, but it needed to be told separately. I did set 
a path build variable for this which didn't work.

In project properties->C/C++ Environment a path variable can be added 
which does the trick.

Thanks for the response.

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.