Build fully static library by the compiler?

Denis Feklushkin feklushkin.denis at gmail.com
Sat Aug 10 08:07:14 UTC 2024


On Friday, 9 August 2024 at 22:32:21 UTC, Alex Bryan wrote:

>> Point is that D can be not a main language of the project and 
>> it is unconvient to extract by somehow paths to phobos and 
>> druntime at last stages of project build.
>
> ldc2 has the --static option, though, looking from ldc2 --help 
> I'm not 100% sure exactly what that does.

--static means executable creation, not a static library



More information about the Digitalmars-d-learn mailing list