In line with points raised here:
-
the
ldc2
snap is the official snap package of the LDC compiler; the compiler project is hosted at GitHub - ldc-developers/ldc: The LLVM-based D Compiler. while the snap package is hosted at GitHub - ldc-developers/ldc2.snap: Snap package definition for LDC, the LLVM-based D compiler. See also discussion on the snapcraft mailing list and LDC forums around the time the package was set up: Classic confinement success for LDC D compiler and https://forum.dlang.org/thread/fpngfcpwsmapwtkuyiec@forum.dlang.org -
the 3 aliases requested are for apps that come as standard as part of the LDC compiler package (for example, the deb package in regular Ubuntu repositories includes
ldmd2
) -
many tools in the D world will assume that the commands have these names (particularly the
ldmd2
command, which provides an alternative CLI for the compiler), so it’s inconvenient to force users to useldc2.ldmd2
.
Let me know if any more info is required/would be useful.