delorie.com is funded by banner ads.
  www.delorie.com/djgpp/v2faq/faq091.html   search  

| Previous | Next | Up | Top |

11.7 Floating point exception in Objective-C programs

Q: When I run my Objective-C programs on a machine without an FPU, it dies with a floating point exception, even though I installed the emulator as the docs say...


A: There is a bug in GCC 2.7.2 whereby it sometimes emits Objective-C code that crashes ObjC programs. A patch that fixes it was posted to the DJGPP news group; get it via the Web. You will have to get the GCC source distribution gcc2721s.zip, install the above patch, rebuild cc1obj.exe, and then recompile libobjc.a to make the problem go away.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright ⌐ 1998   by Eli Zaretskii     Updated Sep 1998  

Powered by Apache!

You can help support this site by visiting the advertisers that sponsor it! (only once each, though)