Reinstalled Mac

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 30 00:35:09 PDT 2016


On 2016-09-29 18:28, Paolo Invernizzi wrote:

> Ummm...
> All the installed stuff is pretty well organised inside `/usr/local`, so
> this works...
>
> ---
> hw0062:~ pinver$ /usr/local/Cellar/dmd/2.071.2/bin/dmd --version
> DMD64 D Compiler v2.071.2
> Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
> hw0062:~ pinver$ /usr/local/Cellar/dmd/2.071./bin/dmd --version
> 2.071.0_1/ 2.071.1/   2.071.2/
> hw0062:~ pinver$ /usr/local/Cellar/dmd/2.071.0_1/bin/dmd --version
> DMD64 D Compiler v2.071.0
> Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
> ---

The advantage of DVM is that you don't have to modify any build scripts, 
makefiles or similar. Invoking just "dmd" in a build script will invoke 
whatever version the user has set for the current session.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list