Tango 0.99.9 Kai released

Daniel Keep daniel.keep.lists at gmail.com
Wed Feb 10 16:39:08 PST 2010



Nick Sabalausky wrote:
> "strtr" <strt at spam.com> wrote in message 
> news:hkuc5h$2hjc$1 at digitalmars.com...
>> Nick Sabalausky Wrote:
>>> If you grab the Tango+DMD bundle from the Tango site, then it's exactly 
>>> the
>>> same as installing DMD/Phobos: Just unzip, set path, and run.
>> So I shouldn't need to change anything at all in my project? All Phobos 
>> calls will by default be handled correctly? That's nice.
>>
> 
> ...
> 
> This is what I'd recommend for D1. This is pretty much the way I do it and I 
> find it very easy:
> 
> ...

In F:\Programs\DigitalMars, I have:

- dmd-1.035-tango-0.99.8
- dmd-1.051
- dmd-1.051-tango-trunk

Then there's dmdenv.cmd on the PATH:

@ECHO OFF
IF "%1"=="" GOTO DEFAULT
IF "%1"=="?" GOTO LIST
set DMDVER=%1
GOTO DOIT

:LIST
echo List of available DMD versions:
pushd F:\Programs\DigitalMars
dir /ad /b dmd-*
popd
goto END

:DEFAULT
SET DMDVER=default

:DOIT
echo Adding dmd-%DMDVER% to PATH...
PUSHD F:\Programs\DigitalMars
SET PATH=%CD%\dmd-%DMDVER%\bin;%PATH%
POPD

:END


Prior to compiling anything, I just run `dmdenv BLAH` to get the correct
compiler on the path.

No messing around with junctions or deleting or copying.


More information about the Digitalmars-d-announce mailing list