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

Jacob Carlborg doob at me.com
Wed Oct 9 09:33:18 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.

Alternatively you can build inside a Docker container with the 
same distribution and version as the machine running in the 
cloud. Then you should be able to do dynamic linking and run the 
binary in the cloud without any problem.

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list