From: pokornp AT math DOT vscht DOT cz () Newsgroups: comp.os.msdos.djgpp Subject: gcc-dos 2.8.1 and Exiting due to signal SIGFPE ? Date: 9 Apr 1998 19:02:04 GMT Organization: Prague Institute of Chemical Technology Message-ID: <6gj5vc$6oe$1@news.vscht.cz> NNTP-Posting-Host: math.vscht.cz Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. Have you come across this error ? Thank you Pavel Pokorny Math Dept, Prague Institute of Chemical Technology e-mail: Pavel DOT Pokorny AT vscht DOT cz http://staff.vscht.cz/mat/Pavel.Pokorny