Re: Static executable (ldc, linux)

2022-10-25 Thread Anonymouse via Digitalmars-d-learn
On Tuesday, 25 October 2022 at 10:55:33 UTC, Kagamin wrote: ldc2 -link-defaultlib-shared=false or something like that Thanks.

Re: Static executable (ldc, linux)

2022-10-25 Thread Kagamin via Digitalmars-d-learn
ldc2 -link-defaultlib-shared=false or something like that

Static executable (ldc, linux)

2022-10-25 Thread Anonymouse via Digitalmars-d-learn
I'm having problems compiling my thing into an executable that doesn't require ldc's phobos/druntime .so's. I want to distribute it in a form where it's okay if `/usr/lib/libphobos2-ldc-shared.so.100` and friends don't exist. `--static` seems to do the trick in that the compiled file is no