static linking

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 25 11:37:05 PDT 2015


On Sat, 25 Jul 2015 18:02:46 +0000
Laeeth Isharc via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:

> 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.

Do you mean dynamic linking?

I do not have any problems with dmd.
Can you please post more details what you are trying?

*.so are dynamic, *.[l]a are static


More information about the Digitalmars-d-learn mailing list