static linking

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 25 11:02:46 PDT 2015


Hi.

Is static linking with dmd still broken on linux?  If so, can I 
link statically with gdc or ldc, and if so how?

https://issues.dlang.org/show_bug.cgi?id=12268

I am trying to compile a D binary to run on AWS lambda.  If I 
cannot link statically, which files should I include in the zip 
upload - libphobos2.so, libdruntime-linux64so.o ?

Thanks.


Laeeth.


More information about the Digitalmars-d-learn mailing list