EmbDev.net

Forum: ARM programming with GCC/GNU tools Make error


von chatchai (Guest)


Rate this post
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

von Martin Thomas (Guest)


Rate this post
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.