EmbDev.net

Forum: ARM programming with GCC/GNU tools Make error


Author: chatchai (Guest)
Posted on:

Rate this post
0 useful
not useful
I download WinARM and extract to C:\WinARM. After that, I open example
(lpc2138_uart0_irq )project with programmer notepad. When I make 'all'.
I got following error.
I have already add ARM directory to Path.




> "make.exe" all

-------- begin --------
arm-elf-gcc (GCC) 4.0.0
Copyright (C) 2005 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.


Assembling (ARM-only): crt0.S
arm-elf-gcc -c -mcpu=arm7tdmi-s -mthumb-interwork -I. -x
assembler-with-cpp -DROM_RUN -Wa,-adhlns=crt0.lst,-gdwarf-2 crt0.S -o
crt0.o
Assembler messages:
Error: unknown cpu `arm7tdmi-s'
make.exe: *** [crt0.o] Error 1

> Process Exit Code: 2
> Time Taken: 00:00

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
chatchai wrote:
> I download WinARM and extract to C:\WinARM. After that, I open example
> (lpc2138_uart0_irq )project with programmer notepad. When I make 'all'.
> I got following error.
> I have already add ARM directory to Path.
>
>> "make.exe" all
>
> -------- begin --------
> arm-elf-gcc (GCC) 4.0.0

This is at least not WinARM 6/06 which will "say":
arm-elf-gcc (GCC) 4.1.1 (WinARM)
Check if another arm-elf-Toolchain is installed and the path to this
toolchain is in the system search PATH. Remove the entries from the path
and verify that you have added the entries c:\WinARM\bin and
c:\WinARM\utils\bin.

Martin Thomas

Reply

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.