Linux: How to statically link against system libs?

Nick Sabalausky a at a.a
Tue Apr 26 11:09:35 PDT 2011


On Linux, how do I get DMD to statically link against the necessary system 
libs like libc?

Someone suggested trying -L-static, but that just gives me this:

/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
--- errorlevel 1




More information about the Digitalmars-d-learn mailing list