Forum: ARM programming with GCC/GNU tools Yagarto make Error

Author: Gary Embler (Company: Google Inc.) (gembler)
Posted on:

Rate this post
0 useful
not useful
Using the latest Yagarto Tools and GNU ARM Toolchain, I get:

C:\Program: C:\Program: No such file or directory
make: *** [Cstartup.o] Error 127

It appears I am using the correct make:

C:\Atmelprj\workspace\uc>make --version
GNU Make 3.81
Copyright (C) 2006  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

This program built for i686-pc-mingw32

Prior to upgrading to the latest Yagarto version, this error did not 

The "C:\Program:" in the error message is suspicious. Could it be 
truncating after the space in "C:\Program Files\..." ?

Any help on this is appreciated.


Author: A. K. (prx)
Posted on:

Rate this post
0 useful
not useful
Installing Unix/Linux related programs to a directory path containing 
spaces is an easy way to get into all sorts of trouble. Either try to 
find all places where paths are used without surrounding quotes, or 
reinstall to a different place.

Author: Gary Embler (Company: Google Inc.) (gembler)
Posted on:

Rate this post
0 useful
not useful
That's a good point. I've encountered this problem before. That's why I 
suspected a problem with a space in the PATH. However, this was not a 
problem on the earlier Yagarto version. I used the default installation 
parameters which installed Yagarto under C:\Program Files.

As an experiment I uninstalled Yagarto and reinstalled directly under 
C:\. This fixed the problem. mifi should change his installer script if 
this is the way Yagarto now works.

Also, beware of the Yagarto Tools installation. It still has the NSIS 
installer bug that corrupts the PATH if the PATH contains over 1K 



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.