To avoid some linking errors

Brad Roberts braddr at slice-2.puremagic.com
Mon Oct 29 18:43:59 PDT 2012


On Tue, 30 Oct 2012, bearophile wrote:
> Andrei Alexandrescu:
> 
> > Why can't the linking code be built into dmd? I am baffled :o).
> 
> This is possible, but a better question is how much work is required to do
> this?
> 
> Walter was very slowly translating the current linker from disassembly to C.
> If and once that program is all C, it's probably not too much hard to convert
> it to D, merge it with the dmd binary, and improve it in some ways.
> 
> Bye,
> bearophile

Built in?  Absolutely not.  There's no way that it's architectually wise 
to have the linker as a part of the compiler binary.

Able to usefully interact with the linker?  Absolutely.

To be clear, I'm certain that Andrei was kidding / making a joke at 
Walter's expense.


More information about the Digitalmars-d mailing list