delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/03/14:47:56

From: Jeff Weeks <pweeks AT execulink DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: what's the size of the DJGPP stub + .EXE header?
Date: Sun, 03 Aug 1997 11:39:15 -0400
Organization: Code X Software
Lines: 18
Message-ID: <33E4A623.3A94FC62@execulink.com>
NNTP-Posting-Host: ppp33.mercury.execulink.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I need to know the size of the DJGPP stub plus the .EXE header.  In most
compilers, to get a flat binary file, you simply strip the first 512
bytes (which would be the .EXE header) from the resultant executable.

In DJGPP you can't do this though because of the stub (correct?), so I
need to know the size of the stub, so that I can strip it from the
executable to get a flat binary file.

Thanks,
Jeff

--------------------------------------------
            - Code X Software -
       Programming to a Higher Power
  
  email: mailto:pweeks AT execulink DOT com
  web:	 http://www.execulink.com/~pweeks/
--------------------------------------------

- Raw text -


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