Linking multiple libraries

b2.temp at gmx.com b2.temp at gmx.com
Sun Feb 11 01:38:41 UTC 2018


On Sunday, 26 November 2017 at 11:15:58 UTC, Jacob Carlborg wrote:
> On 2017-11-25 23:31, Mike Parker wrote:
>
> For "ld" on macOS the order does not matter. For "ld" on Linux 
> the order does matter, but, if necessary, the following flags 
> can be used to link libraries in any order: "--start-group" and 
> "--end-group". Those flag will cause the linker to search the 
> libraries repeatedly to resolve undefined symbols.

These flags should be  passed to ld by DMD i think


More information about the Digitalmars-d-learn mailing list