Forum: ARM programming with GCC/GNU tools make error on examples

Author: Gene Morgan (greengene)
Posted on:

Rate this post
0 useful
not useful
I get
make: *** [begin] Error 1
when I try to run make from an example on WinARM.
SHELL = sh
it looks like it doesn't like the @echo - echo works fine.
If I comment out the SHELL = sh,
the @echo works but the make then error exits on
@if [ -f $(TARGET).elf ]; then echo test one;else echo nope;fi

as a simple example, the following gets the same error
# start
SHELL = sh

:all begin

  echo hello
  @echo hello

I expect it is something with the SHELL command
but I've even set SHELL to
SHELL = C:/WinARM/utils/bin/sh.exe
with the same results.

What do I need to do?


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.