DVM - D Version Manager

Don nospam at nospam.com
Tue Jan 25 00:14:06 PST 2011


Nick Sabalausky wrote:
> "Jacob Carlborg" <doob at me.com> wrote in message 
> news:ihkvrr$1l02$1 at digitalmars.com...
>> I've created a tool that installs and manages D compilers and different 
>> versions.
>>
>> Description:
>>
>> DVM allows you to easily download and install D compilers and manage 
>> different versions of the compilers. When you switch D compiler with the 
>> "use" command the compiler will only be available in the current shell. 
>> This allows you to have one version of the compiler in one shell and 
>> another version in another shell. For example, have a D1 version in one 
>> shell and a D2 version in another.
>>
>> The tool is available at bitbucket: https://bitbucket.org/doob/dvm
>> The wiki contains installation and usage instructions: 
>> https://bitbucket.org/doob/dvm/wiki/Home
>>
>> Platforms: currently only Posix
>>
> 
> Yay! That sounds great!
> 
> This is the second thing this week that I'd been intending to do and have 
> been thrilled to be beaten to the punch :)
> 
> You can bet I'll take a crack at porting it to windows...uhhh...assuming I 
> can find the time...heh ;)
> 
> 

FWIW, I just copy all the versions of dmd into olddmd/dmd2051, etc, and 
then use a trivial batch file. (Uses junction from sysinternals to make 
a symlink).
---
@junction c:\dmd c:\olddmd\dmd%1 > nul
@if not errorlevel 0 echo don't have version %1
---
eg, usedmd 2051



More information about the Digitalmars-d-announce mailing list