dmd's linking order

eles eles at eles.com
Thu Apr 12 00:46:55 PDT 2012


> And to tell ld to not depend on the order in which the libs are 
> specifies, you can use --start-group and --end-group.
>
> From the ld man page:
>
> --start-group archives --end-group
>     The archives should be a list of archive files.  They may 
> be either
>     explicit file names, or -l options.
>
>     The specified archives are searched repeatedly until no new
>     undefined references are created.

Thanks. I knew that possibility exists, I just did not remember 
the parameters.

Thank you for documenting this here.


More information about the Digitalmars-d mailing list