Bug 19827 – Default installation path for LDC ?

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2019-04-25T23:33:19Z
Last change time
2019-05-31T16:39:53Z
Assigned to
No Owner
Creator
Thomas

Comments

Comment #0 by thomas.hedstrom — 2019-04-25T23:33:19Z
When installing VisualD it can find DMD Install path automatically. For LDC there seems to be no support for a correct "installation" only zip-files. Why not make a few guesses of the location during installation ? (Assuming an LDC installer is not the pipe yet) IMO the first guess would be "C:\D\LDC" (Beside the dmd2 installation path).
Comment #1 by r.sagitario — 2019-04-28T08:19:24Z
Yes, LDC doesn't have a registry entry that can be used as the default. I've never used the default path myself, not sure how often it will actually work. It has also been proposed to integrate DMD and LDC installation with the Visual D installer, I'll probably explore that road...
Comment #2 by thomas.hedstrom — 2019-04-29T16:20:28Z
Yes that would be a much better solution. As inspiration for VS integration I recommend looking at VisualGDB: https://visualgdb.com/tutorials/risc-v/ They seem to go all the way...downloading toolchains as needed for different projects/targets etc.
Comment #3 by r.sagitario — 2019-05-31T16:39:53Z
Not as elaborate as Visual GDB but https://github.com/dlang/visuald/releases/tag/v0.50.0-beta1 now can install and update DMD and LDC now.