www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/02/07:54:40

Date: Fri, 2 Jun 1995 12:49:27 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: sieben AT imap1 DOT asu DOT edu
Subject: Re: Exec generated by djgpp
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019