D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19827 - Default installation path for LDC ?
Summary: Default installation path for LDC ?
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: visuald (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-25 23:33 UTC by Thomas
Modified: 2019-05-31 16:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas 2019-04-25 23:33:19 UTC
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 Rainer Schuetze 2019-04-28 08:19:24 UTC
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 Thomas 2019-04-29 16:20:28 UTC
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 Rainer Schuetze 2019-05-31 16:39:53 UTC
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.