Build fully static library by the compiler?

Denis Feklushkin feklushkin.denis at gmail.com
Sun Aug 11 18:06:31 UTC 2024


On Sunday, 11 August 2024 at 14:27:11 UTC, Richard (Rikki) Andrew 
Cattermole wrote:

> This touches upon something I've been wanting for a while now, 
> which is essentially a platform probe switch for D compilers.
>
> It would replace dub's platform probe file, but would aid in 
> cases like this where you don't want to be guessing locations 
> of files.
>
> But it could also offer:
>
> All target triples, their linker flags (with respect to shared 
> + static builds), file paths to druntime/phobos, and if the 
> triple is default or supported by host.

https://github.com/ldc-developers/ldc/pull/4717

Maybe this is what you need? Just need to specify correct 
`--conf=` path



More information about the Digitalmars-d-learn mailing list