EmbDev.net

Forum: ARM programming with GCC/GNU tools Syntax Error WinARM MAKE Version 5.2


von Devis (Guest)


Rate this post
useful
not useful
Hi,
I've installed WinARM Version 20060606 and I've Unpacked the archive to
C:\Programmi\ and extended the system search-path (environment-variable
PATH) by C:\Programmi\WinARM\bin;C:\Programmi\WinARM\utils\bin;
After that, I've opened an example project (at91sam7s64_Hello). When I

"make.exe" all
or
"make.exe" clean

I got following errors:

> "make.exe" all
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Error makefile 181: Command syntax error
Error makefile 183: Command syntax error
Error makefile 185: Command syntax error
Error makefile 337: Colon expected
Error makefile 347: Command syntax error
Error makefile 348: Command syntax error
Error makefile 349: Command syntax error
Error makefile 359: Command syntax error
Error makefile 360: Command syntax error
Error makefile 361: Command syntax error
Error makefile 365: Command syntax error
Error makefile 366: Command syntax error
Error makefile 367: Command syntax error
Error makefile 378: Command syntax error
Error makefile 379: Command syntax error
Error makefile 380: Command syntax error
Error makefile 425: Command syntax error
*** 17 errors during make ***

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

Could somebody help me?
Thanks in advance
Devis

von Martin Thom (Guest)


Rate this post
useful
not useful
Devis wrote:
> ...
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> ...

This is a FAQ. The WinARM-package includes a file readme.htm which
mentions this issue. It also has been discussed in this forum at least
twice. Summary: the makefiles are created for a GNU make while you ar
using make from Borland.
possible workarounds:
- remove the directory with the Borland make.exe from the search-patch
or
- search for files with the name make.exe and rename all but the one in
the WinARM/utils/bin directory so the one that comes with WinARM is the
only make.exe in the search-path (i.e. rename the make.exe from Borland
to borland_make.exe)
or
- rename the make.exe that comes with WinARM to gnumake.exe and use
gnumake all instead of make all
or
- call the make.exe included in WinARM with the full path.
(c:\WinARM\utils\bin\make.exe all)

Hope this helps,
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.