PhobosV3+ Fundamental Elements
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Sep 18 16:46:36 UTC 2026
On 18/09/2026 7:16 PM, Gregor Mückl wrote:
> On Thursday, 27 August 2026 at 22:39:04 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> Each of the auxiliary libraries are shipped as a shared library and D
>> files suitable for importation using ``-extI`` switch.
>> The base library will be shipped as both a shared library and a static
>> library, along with the D files suitable for importation using both
>> ``-extI`` and ``-I``.
>
> Please include an option to have all these libraries statically linked
> as well. Sometimes, it just happens that one really, really needs a
> completely self-contained binary.
If you hit a wall like that you can always build it yourself.
The libraries built on top of the base phobosv3 library, need to be
shared libraries they are doing things like event loop that should not
be available by default and are not going to work right if they were a
static library.
I don't want people who don't know what they are doing thinking that
they should use a static library for easier shipping and then find
themselves with core features not working.
> Also, are there any remaining issues with D DLLs on Windows that may
> interfere with the shared library plan? I recall that there have been
> open issues for a long time, but I don't know how much is resolved now.
Yes.
TypeInfo needs to be per binary, Martin is currently upstreaming that.
There are some parts of druntime that need upstreaming from ldc.
And the installer needs updating to ship the shared libraries.
But as far as -betterC is concerned, its working just fine.
More information about the Digitalmars-d
mailing list