Mail Archives: djgpp/1995/10/25/05:26:17
On 24 Oct 1995, Peter Hermann wrote:
> My executable (fn.exe) does not run on the customer's site.
> The error message is something like "exec go32" not found...
> What minimum preconditions are necessary in order to get thsi running?
From the DJGPP FAQ list (available as faq102.zip from the same place you
get DJGPP):
9.13 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
exec go32. Do I really need all your multi-megabyte installation
to run compiled programs?
A: No, you don't. You can either (1) copy go32.exe to the target
machine and put it somewhere along the PATH there, or (2) merge
go32.exe with your program to produce a stand-alone executable
(albeit one which is larger by about 70KB) with this command:
coff2exe -s c:\djgpp\bin\go32.exe yourprog
(Replace c:\djgpp\bin with the actual path to go32.exe on your
system.)
PS. If the target system doesn't have an i387 (i.e., if it's a 386
without a 387, or 486SX), and if your program uses floating-point
computations, you'll also have to distribute the file emu387 with it.
- Raw text -