Eclipse GNUARM Problem

I have setup my Eclipse/GNU toolchain using the Lynch tutorial. It assembles, compiles and links fine but then I get a series of windows error messages:

cc1.exe application error

The instruction at 0x… referenced memory at 0x… The memory could not be “read” etc etc

Any ideas?

Rich

Hello Rich,

please check if you have more than one cygwin1.dll on your pc.

Perhaps this is the problem.

Btw, if you like to have a toolchain without the need of

Cygwin, take a look here:

www.yagarto.de

You will find some tutorial here too.

Regards,

Michael

That’s it! Thanks. The duplicate Dlls come from a WinAVR installation.

I have removed the cygwin1.dll from the WinAVR\bin directory and all is well. WinAVR still compiles and the errors from eclipse are gone. Of course I would like to understand what is REALLY going on so I can sort of paths etc.

Rich

Hi Rich,

Cygwin is very sensitive about different dll’s.

Some application comes with his own cygwin.dll’s, which

is not a good bearing. But the problem is, if the applications

does not have the dll’s. The user must download and install

the Cygwin packages, which is big.

This is the “hen-egg” problem :cry:

More information you can find at the cygwin page:

http://www.cygwin.com/

Regards,

Michael