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

| Previous | Next | Up | Top |

3.2 Does it really work under OS/2?

Q: You tell me it will work under OS/2, but I'm experiencing strange crashes after several compilations ...

Q: DJGPP Make crashes when I run it on OS/2!


A: There was a bug in the DPMI server of the old OS/2 versions, which was triggered by spawning child processes (like GCC does when it invokes the various compiler passes). Current versions of OS/2 don't have that bug, so DJGPP programs should run fine under OS/2. If you can't make this happen, chances are that your setup is incorrect. One system parameter that can cause problems with DJGPP (reportedly, Make crashes if it isn't set correctly) is DPMI_DOS_API. Setting it to ENABLED instead of the default AUTO should solve the problem. I'm also told that experimenting with the value of DPMI_MEMORY_LIMIT sometimes solves problems on OS/2. Reportedly, version 4.0 of OS/2 solves problems with DPMI support, so the above is only required for OS/2 v3.0 or earlier.

One particular problem with OS/2 v3.0 is that RHIDE 1.4 and later exits after the compilation ends. This doesn't happen under OS/2 v4.0, so you should upgrade if you have such problems.

If the above doesn't help, please post the details of the crashes you see to the DJGPP mailing list (see how to post to the mailing list), or to the comp.os.msdos.djgpp news group, and somebody will help you.


  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)