Object file formats, compilers and linkers

Albert Chin-A-Young china@thewrittenword.com
Tue Jan 9 08:18:00 GMT 2001


On Tue, Jan 09, 2001 at 02:08:55PM -0200, Alexandre Oliva wrote:
> On Jan  9, 2001, "JB" <jamesb@northnet.com.au> wrote:
> 
> > I'm interested in how a compiler writes a relocatable object file
> 
> GCC doesn't.  It just outputs assembly code.  It's the assembler's job
> to create a relocatable object file.
> 
> > and how a linker messes with these to produce an executable file.
> 
> > Is there some kind of easy to read (i.e. plain English)
> > documentation on various object and executable file formats, for the
> > novice?
> 
> There's a very good book on this subject, called Linkers & Loaders (or
> something alike), but I heard it's out of print :-(

What? It came out in 1999. I just checked amazon.com and it's listed
there. ISBN 1-55860-496-0.

-- 
albert chin (china@thewrittenword.com)


More information about the Gcc mailing list