Mail Archives: djgpp/1995/06/02/07:54:40
E.I.T. (hshaw AT mars DOT calstatela DOT edu) wrote:
: Hello all.. i been on the list for about a month since i
: reinstalled djgpp112. I have a question regarding the executables
: tha djgpp makes. I just noticed that when i dont have the djgpp
: environment or /bin in my path ( as i use a boot disk to setup
: all the relavent paths and such when programming) my executables
: dont run. The error i get is "Cannont exec go32"
: Are these executables only valid when i have djgpp installed
: and setup in the paths? How can i generate exec that will run as normal
: .EXE files?
This is explained in the DJGPP FAQ list:
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.)
- Raw text -