Mark Stokes wrote:
Well, this is why I didn't want to install the 0506 build right away:
After installing all but the giveio (already installed), when I try to
compile, I get a popup that says:
Window title: "msp430-gcc.exe - Entry Point Not Found"
There is a red circle w/ a white 'X' in it and the text:
"The procedure entry point memcpy could not be located in the dynamic
link library cygwin1.dll"
Then, there is only an "OK" button.
After pressing the button, nothing is compiled.
I had installed it to "C:\msp430" (the original package I think used
this), so I tried installing it again using all defaults, and no good,
same error (ya, I made sure the correct install was being invoked.
Turns out, the problem was that cygwin1.dll wasn't overwritten when I
installed the new build over the old location. Not sure why. My
solution was to install it again to my directory, then just copy the
entire install dir tree over the one I was using (from the default
location to my location).
Not a very "clean" solution, but a viable one.
Incidentally, if I delete the .dll (or rename it), the install worked
correctly. It only didn't work (didn't install the new cygwin1.dll
file) if the file existed.
-Mark
Cygwin has been updated since the last installer was built, and I think
it has been incompatiblity updated. Cygwin does not like having more
than one copy of cygwin1.dll available (which is generally a good think
considering the problems of DLL hell). In the installer I check if
cygwin1.dll exists in the current search path. If it does, I do not
install it again, so an old copy does not get updated.
Perhaps the cleanest thing is a note to uninstall any old versions of
mspgcc before installing the new one.
Welcome to DLL hell. You think its bad in the world of English Windows?
Try adding Asian language support to the mix and see if you can maintain
a machine with everything working properly at the same time :-)
Regards,
Steve