digitalmars.D.learn - Static compiling with dmd
- Zardoz (6/6) Dec 12 2012 How I can compile with static linking with dmd ?
- Jonathan M Davis (5/12) Dec 12 2012 At this point, you can't do it. You need to link manually using gcc if y...
- Minas Mina (2/8) Dec 12 2012 Try using -L-lyourlib
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.
Dec 12 2012
On Wednesday, December 12, 2012 15:28:46 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.At this point, you can't do it. You need to link manually using gcc if you want to do it. http://d.puremagic.com/issues/show_bug.cgi?id=6952 - Jonathan M Davis
Dec 12 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
Dec 12 2012