Pelles C forum

Pelles C => Bug reports => Topic started by: hanelyp on January 17, 2006, 04:23:43 AM

Title: bad build
Post by: hanelyp on January 17, 2006, 04:23:43 AM
building a program with pellesC, source, musictest.c and project file, music-dt.ppj, at http://www.splitreflection.com/cal/SDL/ the resulting exe appears to segfault before getting to my code.  Same program built with gcc(different makefile) works fine(other than being a tad annoying).  A build of this program for winCE displays simular symptoms.
Title: bad build
Post by: TimoVJL on January 17, 2006, 06:30:56 AM
Read this:

http://smorgasbordet.com/phpBB2/viewtopic.php?t=270
Title: bad build
Post by: kobold on January 17, 2006, 07:49:42 PM
Here is my result, runs fine on my pc. No big unsolvable problem.
Title: bad build
Post by: Pelle on January 17, 2006, 09:14:51 PM
Good to know. Thanks.

Pelle
Title: bad build
Post by: hanelyp on January 18, 2006, 05:35:33 AM
Quote from: "timovjl"
Read this:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=270

Including "msvcrt.lib" in the link did it.  Still annoying getting a build which crashed before getting to app code, and the solution was totally non-intultive given the errors I was getting before a 'successfull' build.  Now, any ideas about simular symptoms on the winCE build?
Title: bad build
Post by: kobold on January 18, 2006, 08:27:05 PM
Ooops, i have compiled it as console program. Thats why it worked with my selfmade ppj file without the msvcrt.dll.