Wow, shows how amenable to just kludging things I am. I just have dmd2/<os>/bin in my path and rename the directory for whatever version I want to use to dmd2.<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 2:21 PM, Don Clugston <span dir="ltr"><<a href="mailto:dclugston@googlemail.com">dclugston@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 7 September 2011 10:33, Rory McGuire <<a href="mailto:rmcguire@neonova.co.za">rmcguire@neonova.co.za</a>> wrote:<br>
> With Linux I use symlinks to manage my dmd version.<br>
> /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd<br>
> etc...<br>
> /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so<br>
> /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046<br>
> then just put all dmd2046 stuff in /usr/local/lib/d/dmd2046 and all your<br>
> other versions in their own directories.<br>
> to change versions you just have to change the /usr/loca/lib/d/dmd symlink.<br>
><br>
> Not sure how you could do this in Windows.<br>
> -Rory<br>
<br>
</div>Exactly the same thing works fine on Windows. I use "junction.exe"<br>
from sysinternals to deal with the symlinks. I have one directory for<br>
each released version, and one special development directory which<br>
contains symlinks to git dmd, phobos and druntime.<br>
<div><div></div><div class="h5">_______________________________________________<br>
dmd-beta mailing list<br>
<a href="mailto:dmd-beta@puremagic.com">dmd-beta@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/dmd-beta" target="_blank">http://lists.puremagic.com/mailman/listinfo/dmd-beta</a><br>
</div></div></blockquote></div><br>