EmbDev.net

Forum: ARM programming with GCC/GNU tools make fails


von Tilo (Guest)


Rate this post
useful
not useful
Hi

I have switched to vista and have a little problem with winarm:
> "make" all

-------- begin (mode: ROM_RUN) --------
arm-elf-gcc (GCC) 4.1.1 (WinARM)
Copyright (C) 2006 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): startup.S
arm-elf-gcc: CreateProcess: No such file or directory
make: *** [startup.o] Error 1

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

Any idea what this error means? My first idea was missing path entries
in the system variable. I checked them and I can call winarm binaries
from every folder so this should be OK.

von Stefan (Guest)


Rate this post
useful
not useful
Tilo wrote:
> Hi
>
> I have switched to vista and have a little problem with winarm:
>> "make" all
>
...
> Assembling (ARM-only): startup.S
> arm-elf-gcc: CreateProcess: No such file or directory
> make: *** [startup.o] Error 1
>
>> Process Exit Code: 2
>> Time Taken: 00:00

There are issues with GCC on Vista with WinAVR too.
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=44251

One solution i have seen was the installation of a virtual machine with
XP as development system.

Stefan

von Peter (Guest)


Rate this post
useful
not useful
I had the same problem compiling my AT91SAM7 code with WinARM under
Vista (Home Premium).

To get it working I had to extend the environment search PATH. I use the
following  batch file:

@echo off
set
PATH=C:\WinARM\bin;c:\WinARM\arm-elf\bin;c:\WinARM\utils\bin;c:\winarm\l 
ibexec\gcc\arm-elf\4.1.1;c:\cygwin\bin;%PATH%
echo Path set

Peter

von Vishal A. (vishal)


Rate this post
useful
not useful
Tilo wrote:
> Hi
>
> I have switched to vista and have a little problem with winarm:
>> "make" all
>
> -------- begin (mode: ROM_RUN) --------
> arm-elf-gcc (GCC) 4.1.1 (WinARM)
> Copyright (C) 2006 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): startup.S
> arm-elf-gcc: CreateProcess: No such file or directory
> make: *** [startup.o] Error 1
>
>> Process Exit Code: 2
>> Time Taken: 00:00
>
> Any idea what this error means? My first idea was missing path entries
> in the system variable. I checked them and I can call winarm binaries
> from every folder so this should be OK.


Hi Tilo

First, as Peter said follow these steps:
http://winarm.scienceprog.com/winarm-tools/quick-start-using-winarm.html

Second, might be that you are running Programmers Notepad from batch
file and not from the pn.exe file given in folder 'pn'

"Sometimes we miss very simple things"

Vishal

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.