Date: Sun, 2 May 1999 11:28:13 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Federica cc: djgpp AT delorie DOT com Subject: Re: HelpMePlease In-Reply-To: <372EF63F.F5DBD092@bergamoexport.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 4 May 1999, Federica wrote: > My program crashes (at run time ) if compiled in my machine but runs OK > when compiled in friend of mine one (then my machine can't compile it > well). It's most probably a bug in your program, which you should debug. The crash traceback you posted indicates that you are using DJGPP version 2.01. If your friend uses v2.02, then the reason that the program doesn't crash when compiled on your friend's machine is that v2.02 masks all numeric exceptions in the startup code. When numeric exceptions are masked, they produce NaN's and Inf's (that's Not-a-Number and Infinity, in case you didn't know) instead of aborting the program. However, the results of such calculations are still incorrect in many cases. So I think you should debug your program near the place where it crashes (line 388 of eulerod.c, as the traceback says). Almost certainly, it has some problem like divide by zero or square root of a negative number. > I've readed all your FAQ list (great strain for me , I'm italian ) but > it haven't help me. Please consider translating the FAQ into Italian and contributing the translation to the DJGPP project. We sure could use more features that are friendly to people who don't command English too well. Section 12.2 of the FAQ explains a great deal of details about how to begin debugging your program using the traceback as the starting point.