std library hooks

Walter Bright newshound2 at digitalmars.com
Sat Apr 14 12:44:40 PDT 2012


On 4/14/2012 3:56 AM, Manu wrote:
> How do you define 'the' linker?

Takes object files and builds an executable.

> Is this also how ld and link.exe works?

It's how every linker I've ever used and heard of works.


Keep in mind that an object file consists of blocks of BINARY data attached to 
symbols. There is no meaning in the binary data. The linker knows nothing about 
the meaning of that binary data, or where it came from. Run the "dumpobj" 
utility over an object file and you'll see what I mean.



More information about the Digitalmars-d mailing list