It there any recipe to compile x64 .dll without dependencies?
I mean it shoud be used without installing things like msvcr120.dll.
Dependencies on system dll (advapi32.dll, kerner32.dll) is ok.
I don't experiment on linux yet. But interest too.
Thread overview | |||||
---|---|---|---|---|---|
|
March 05, 2023 compile x64 .dll and .so without dependencies | ||||
---|---|---|---|---|
| ||||
It there any recipe to compile x64 .dll without dependencies? I mean it shoud be used without installing things like msvcr120.dll. I don't experiment on linux yet. But interest too. |
March 05, 2023 Re: compile x64 .dll and .so without dependencies | ||||
---|---|---|---|---|
| ||||
Posted in reply to novice2 | On Sunday, 5 March 2023 at 06:36:05 UTC, novice2 wrote: >It there any recipe to compile x64 .dll without dependencies? I mean it shoud be used without installing things like msvcr120.dll. I don't experiment on linux yet. But interest too. What we do here in dub.json, for no deps on big 3 desktop OSes:
Additionally on (Windows + DUB + LDC), you will need to set an envvar: else you may still depend upon a dynamic phobos. |
March 05, 2023 Re: compile x64 .dll and .so without dependencies | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guillaume Piolat | On Sunday, 5 March 2023 at 18:35:58 UTC, Guillaume Piolat wrote: >
Additionally on (Windows + DUB + LDC), you will need to set an envvar: Thank you! |