Since http://www.smorgasbordet.com/pellesc/ seems to be offline, you can find the Download of Pelles C here in this Forum.
The IDE can compile C code without issues. It's the linking step causing the issue.
I join the project and the hardcopy of my windows and Pelle's versio