Make error

Guest #1171734
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
Guest #1171735
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

A question of your own? This thread is over 20 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.