Static compiling with dmd

Minas Mina minas_mina1990 at hotmail.co.uk
Wed Dec 12 14:10:44 PST 2012


On Wednesday, 12 December 2012 at 14:28:48 UTC, Zardoz wrote:
> How I can compile with static linking with dmd ?
> I try with dmd -L-static ....
> but i get this error :
> /usr/bin/ld: cannot find -lgcc_s
>
> I used before gdc with -static options and owrked well on it, 
> but I need to use now dmd.

Try using -L-lyourlib


More information about the Digitalmars-d-learn mailing list