Static linking D apps for distribution to the cloud, etc.

Jacob Carlborg doob at me.com
Wed Oct 9 09:38:45 UTC 2019


On Tuesday, 8 October 2019 at 18:28:14 UTC, David J Kordsmeier 
wrote:
> Hi forums, I have what should be a simple question.  I have an 
> application which I would like to distribute to the cloud onto 
> a linux system which I will not have root access.  I thought it 
> should be easier for me to perform static linking of this D app 
> instead of packing the application with library dependencies.

You can also try to build the binary on Alpine and do static 
linking. Alpine uses musl as the C standard library instead of 
GNU. musl is designed for static linking.

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list