PDA

View Full Version : What's the difference between a stub-bound and a fully-bound executable?


R. T. (Fortran Man)
09-03-2003, 05:06 PM
What's the difference between a stub-bound and a fully-bound executable? Why should I use one or the other?

Lahey Support
09-03-2003, 06:16 PM
Both stub-bound and a fully-bound refer to the manner in which the PharLap DOS extender and Virtual Memory Manager (VMM) are attached to your program. For EM/32 and LF90, we supply two versions of the DOS extender and VMM:

* A DOS extender and VMM that can be fully-bound---attached directly to your program. The result is a single, stand-alone executable, containing the DOS extender and optionally the VMM. No separate DOS extender or VMM file is needed. Use these versions whenever you need to distribute your programs.
* A DOS extender and VMM that are stub-bound---not attached directly to your program but pointed to by a small "stub" file that is attached to your program. The result is an executable that requires the DOS extender and the VMM to be available on your computer. You are not allowed to distriute this DOS extender and VMM. You should use these while you're developing your applications. In this way your programs will be smaller because they all use one DOS extender pointed to by the stub program bound to each of your applications.