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

| Previous | Next | Up | Top |

9.5 What do DJGPP programs need to run?

Q: When I copy my DJGPP application program to another PC where no DJGPP is installed, I can't run it. It complains that it cannot find DPMI (??). Do I really need all of your multi-megabyte installation to run compiled programs?


A: No, you don't. You can either (a) bring the CWSDPMI.EXE free DPMI host to the target machine and put it in the same directory as your compiled program or somewhere along the PATH, or (b) install another DPMI host (such as QDPMI, 386Max, Windows, etc.) on the target machine.

If your program could be run on a machine which lacks a floating-point processor, you should also distribute an emulator, or link your program with an emulator library. See floating-point emulation issues.

PMODE/DJ can be bound with your program, so that you have a single self-sufficient executable, but remember that PMODE/DJ doesn't support virtual memory, so such programs will only run on machines with enough free physical RAM.


  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)