dmd's linking order

Jacob Carlborg doob at me.com
Wed Apr 11 01:47:19 PDT 2012


On 2012-04-11 10:37, Jonathan M Davis wrote:

> I have no idea. If they always need to be in a particular order, then we can
> just make dmd put the user provide ones in the correct spot, but if it varies
> depending on the flags, then either dmd is going to have to know which flags go
> in which order (assuming that it can), or there's no way to solve the problem
> without introducing new flags to dmd to give you more control over linking
> order or just using the linker directly.
>
> Unfortunately, I have no idea why the linking order even matters in the first
> place, so I can't really say what we need to do here. Hopefully, someone else
> around here _does_ know. But the issue does seem to need to be brought up.

I also finds it strange that linking order should matter.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list