delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/06/09:32:09

Date: Mon, 6 Nov 1995 08:14:44 -0500
From: kagel AT quasar DOT bloomberg DOT com
To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: generating stand-alone .exe files
Reply-To: kagel AT ts1 DOT bloomberg DOT com

   Errors-To: postmaster AT ns1
   From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
   Date: Sat, 4 Nov 1995 12:39:50 GMT
   Priority: normal
   X-Mailer: Pegasus Mail v3.22
   Content-Type: text
   Content-Length: 713

     resta AT iei DOT pi DOT cnr DOT it (Giovanni Resta) wrote (Subject: Re: generating
   stand-alone .exe files):-

   > Do       coff2exe -s c:\djgpp\bin\go32.exe myprog.cof    and don't forget
   > the "-s" switch (as I done once) or your go32.exe will be destroyed !

     To that idea, I say "-sssssssssssssssssssssssss". It is too easy to forget
   once in a while to insert oddments such as "-s" switches. That is why I prefer
   to create a file C:\DOS\GO32ADD.BAT containing this line:-
	 copy /B c:\djgpp\bin\go32.exe + %1 %2.exe
     and I just type e.g.
	GO32ADD A.OUT MIAOW
     and lo-and-behold an .EXE every time with no meed to remember my GO32.EXE's
   full pathname every time and no risk of overwriting it by omitting something.

But why not create a GO32ADD.BAT as:

coff2exe -s c:\djgpp\bin\go32.exe %1

This solves the forgotten flag problem and still uses coff2exe to generate an
executable which the docs claim loads faster and runs more efficently than the
one made using DOS copy!?!?!  

-- 
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

Variety is the soul of pleasure.  --  Aphra Behn

- Raw text -


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