Bug 16476 – Shared Library of Phobos for Windows

Status
NEW
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-09-08T08:47:45Z
Last change time
2024-12-07T13:36:54Z
Assigned to
No Owner
Creator
Jack
Moved to GitHub: dmd#17334 →

Comments

Comment #0 by gyroheli — 2016-09-08T08:47:45Z
Linux has it, I tried compiling it myself but the .lib file ended up empty. Not sure what needs to be done to get phobos compiling into a shared library on windows. It didn't seem like any symbols were being exported, the corresponding .lib file (create by the linker by passing -L/IMPLIB to dmd on x86) came out empty.
Comment #1 by alphaglosined — 2024-09-24T16:13:20Z
After Rainer's introduction of the visibility and dllimport override switches, druntime and phobos were not shipped as shared libraries by dmd on Windows. Depending upon how much needs to be upstreamed from ldc, this may be limited to the installer.
Comment #2 by alphaglosined — 2024-09-24T16:14:20Z
Oh and the shared druntime/phobos switches were not brought to dmd. That also indicates the configuration is missing from dmd.
Comment #3 by robert.schadek — 2024-12-07T13:36:54Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17334 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB