# Forum: ARM programming with GCC/GNU tools sh.exe crash (WinARM Version 20060117)

 Author: Clifford S. (clifford) Posted on: 2006-04-04 18:50

Rate this post
 0 ▲ useful ▼ not useful
I have experienced page faults on sh.exe when running make. It appears
that the issue is related to very long command lines (the particular
command line that caused the problems was a arm-elf-gcc invokation of

I experienced this on one machine, then it went away - I thought I'd
solved it by uninstalling Cygwin, but the problem reappered on another
machine. I suspect a buffer overrun or similar, hence the unpredictable
behaviour.

I replaced the sh.exe in the WinARM Version 20060117 distribution with
to have solved the problem, but I have not tested it on a large sample.

I note that in the recent update you are now using MinGW. Probably wise,
but since it seems that I now have a stable toolchain, I'll stick with
it for now - unless anyone can give me a compelling reason to migrate?

Thanks for the great work BTW, getting rid of Cygwin dependency has
solved a number of issues for me.

Clifford

 Author: Martin Thomas (Guest) Posted on: 2006-04-04 20:00

Rate this post
 0 ▲ useful ▼ not useful
Clifford Slocombe wrote:

> I replaced the sh.exe in the WinARM Version 20060117 distribution with
> zsh.exe from http://unxutils.sourceforge.net/UnxUpdates.zip. This seems
> to have solved the problem, but I have not tested it on a large sample.

Thanks for the information.

> I note that in the recent update you are now using MinGW. Probably wise,
> but since it seems that I now have a stable toolchain, I'll stick with
> it for now - unless anyone can give me a compelling reason to migrate?

Oh, I hope that it's not only "probably wise". I have got some
problem-reports for the previous WinARM-versions which could all be
solved with the mingw-tools. I have now decided to include the
mingw-Tools as default. WinAVR includes the mingw-tools too an a lot of
people use WinAVR so I guess it not a very unwise to follow them.

No problem if the old tools work for you, but I will stay with the
mingw-tools until there are new problems reported which are caused by

> Thanks for the great work BTW, getting rid of Cygwin dependency has
> solved a number of issues for me.

Issues with the Cygwin-dependency have been one of the reasons to create
the first WinARM-collection. I'm glad that the WinARM-collection is
useful for you.

BTW: additional small examples for the WinARM-example-colletion are
always welcome for tests and as templates for own developments. I
currently do not own for example a STR7-board so some tested examples
for these targets would be a good. (And hitting the google-ads from time
to time is of cause welcome too...)

Martin Thomas

• $formula (LaTeX syntax)$