How to use PropGCC under Windows
David Betz
Posts: 14,516
in Propeller 1
I've always been either a Mac or Linux user of PropGCC and am trying to get it working under Windows now. I downloaded one of the builds from TeamCity and installed it. The first problem I ran into was needing libwinpthread-1.dll. I found a copy of that and installed it and now propeller-elf-gcc will run. However, I still need make to build my project. So I have two questions:
1) Where is the official source for libwinpthread-1.dll? My scrounged copy may not be compatible with PropGCC so I'd rather install this from the official source.
2) What version of make are people using? I could install Cygwin and use that but I'd like to know if there is a better alternative. As you probably guessed, I'm not using SimpleIDE.
Thanks,
David
1) Where is the official source for libwinpthread-1.dll? My scrounged copy may not be compatible with PropGCC so I'd rather install this from the official source.
2) What version of make are people using? I could install Cygwin and use that but I'd like to know if there is a better alternative. As you probably guessed, I'm not using SimpleIDE.
Thanks,
David
Comments
Interesting that openspin.exe isn't working either. When built with MinGW, it's not even linking against any shared libs: (http://david.zemon.name:8111/viewLog.html?buildId=1833&buildTypeId=OpenSpin_WindowsX86&tab=buildLog&_focus=113&guest=1#_state=70)
My cygwin installation has seen very little use since the LSW became available. It's about to get deleted as space is getting tight on this machine and reclaiming 11GB would be useful.
I didn't know about the libwinpthread-1.dll file, but a search of my system shows that I have 4 copies. One of them is in the SimpleIDE/bin directory. Presumably, it was put there when I installed SimpleIDE. Another is contained with an open source genealogy program called Gramps. The third one is contained in a Git/minGW directory that I installed from GitHub. The fourth one is in a directory called McSimulator. I have no idea what that is.
All 4 of the DLLs is a different size, so clearly they are different versions of the libwinpthread-1 DLL.
I've attached the openspin.exe that I built under minGW.
Looking through the Makefile, I didn't see any way to add those flags without modifying the source (as in, no environment variables that could be configured). Did you modify the Makefile? If there's an environment variable, I'll set that in TeamCity, otherwise it will have to wait for a PR to be submitted and merged.