delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/29/00:57:01

Date: Fri, 28 Oct 1994 21:34:40 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: coff format?
To: OKRA AT max DOT tiac DOT net
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>  I'd like to create some dll's.  I know djgpp doesn't support this, but 
>it can create object files which I assume are pretty close to the same 
>thing.  So I'd like to know how a coff file is organized so I can read it 
>in as a dll.  I found a little bit of info in the docs on a.out files, 
>but it was VERY short - like 4 sentences...

coff.h has raw information about the format (but with little documentation). 
There was also some info in _PC Magazine_ a while back (I can't remember which
issue) because Windoze 32-bit executables are COFFs with small stubs prepended.
I doubt that there's a whole lot more info, though--_PC Mag_ said that they had
so much trouble getting it that they had to consult the GCC source! :-)

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: 
 GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-) 
 E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) 
 b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


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