Mail Archives: djgpp/1997/08/05/17:36:50
Jeff Weeks wrote:
>
> 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.
AFAIK, it 2048 bytes.
by the way, if all you want is the coff file, you can do
gcc filename.c -o filename.out
and you file get the executable in filename.exe and the coff file in
filename.out. for more on invocation options, see
info gcc invoking
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
- Raw text -