dmd's linking order

Sean Kelly sean at invisibleduck.org
Wed Apr 11 07:59:15 PDT 2012


On Apr 11, 2012, at 1:25 AM, Jacob Carlborg <doob at me.com> wrote:

> Could it happen that the linker arguments need to be placed first sometimes ?

If it's a user-created library then maybe. The general rule on Unix is that dependent objects need to be listed before the object they depend on.  I think the linker only does a single pass. Optlink doesn't have this problem--it's way nicer in this regard. 


More information about the Digitalmars-d mailing list