exe2coff is a utility that strips the DOS exectuable stub loader from the front of DJGPP executable image and writes a COFF image. This would be used as the first step in replacing the stub with a different stub. For example: C:\> exe2coff myprog.exe C:\> copy /b cwsdstub.exe+myprog mynewprog.exe
Reference: http://www.delorie.com/djgpp/doc/utils/utils_16.html
Advertisement