delorie.com/archives/browse.cgi | search |
Date: | Tue, 14 Apr 1998 14:46:55 +0200 (WET) |
From: | "Andris Pavenis (LU Astro.)" <pavenis AT lanet DOT lv> |
To: | pokornp AT math DOT vscht DOT cz |
cc: | djgpp AT delorie DOT com |
Subject: | Re: gcc-dos 2.8.1 and Exiting due to signal SIGFPE ? |
In-Reply-To: | <6gj5vc$6oe$1@news.vscht.cz> |
Message-ID: | <Pine.A32.3.91.980414144514.68350A-100000@ieva05.lanet.lv> |
MIME-Version: | 1.0 |
On 9 Apr 1998 pokornp AT math DOT vscht DOT cz wrote: > > When I use a cross-compiler gcc-dos 2.8.1 from HP-UX 10.20 to MS-DOS 6.22 > the exe file runs O.K. sometimes but sometimes stops with > > "Exiting due to signal SIGFPE > Floating point exception at eip=0000176e" > > Compiling the C-program with gcc 2.8.1 > gcc -o prog -Wall -O2 prog.c -lm > gcc-dos -o prog.exe -Wall -O2 prog.c -lm > produces *no* warnings > and prog runs always O.K. in HP-UX > so I hoped it is well written and portable. > Perhaps the source is use of one or more not initialized floating point variable(s) or use of one before any value is assigned
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |