Mail Archives: djgpp/1995/08/06/05:15:24
On Tue, 1 Aug 1995, David G. Risner wrote:
> First, if this is in a FAQ, let me know where, and I will look it up. I
> have tried a number of places, and I am having trouble finding this
> information.
Yes, it is in the FAQ:
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.)
For 387-less machines, you should also put the emu387 emulator on the
target machine and set GO32 to point to it:
set GO32=emu c:/whatever/emu387
The latest version of the DJGPP FAQ list should be available as
faq102.zip from the same place you got DJGPP.
- Raw text -