15 Dec
2023
15 Dec
'23
19:51
The OBS build of LDC does not currently package libdruntime.a or libphobos2.a in any (sub)package. This means that there isn't a way of building a statically-linked D program with LDC short of building a new runtime and phobos to link against. Since static libs can be a delicate topic and static lib bloat best avoided for obvious reasons, I decided it'd be best to ask on the mailing list first instead of just putting together a pull request. Has there been any discussion on it as it applies to LDC (or other applicable compilers)? My position would be that the core runtime and stdlib for a compiler clearly count as an "exceptional case" to offer a -devel-static.