digitalmars.D.learn - Reinstalled Mac
- Joel (3/3) Sep 28 2016 I've got my Mac reinstalled. I haven't installed D (dmd) yet. I
- Guillaume Piolat (2/3) Sep 28 2016 Use the DMD installer instead on dlang.org
- Mike Parker (4/7) Sep 28 2016 Any particular reason? I've been using homebrew for it. I like
- Guillaume Piolat (6/9) Sep 28 2016 Not really.
- Joel (4/7) Sep 28 2016 What is the advantage from the site?
- Jacob Carlborg (8/11) Sep 28 2016 You need Xcode and I recommend installing using DVM [1]. It allows you
- Joel (4/15) Sep 28 2016 Oops, I got confused and installed with homebrew. I was going to
- David Nadlinger (4/6) Sep 28 2016 Jacob is also the author of DVM, so he might be a bit biased. ;)
- Jacob Carlborg (6/9) Sep 28 2016 DVM doesn't have that problem :). How easy is it to have multiple
- Paolo Invernizzi (29/35) Sep 29 2016 It seems simple:
- Jacob Carlborg (5/30) Sep 29 2016 Cool, what if I want to use different versions in different sessions,
- Paolo Invernizzi (16/18) Sep 29 2016 Ummm...
- Jacob Carlborg (6/19) Sep 30 2016 The advantage of DVM is that you don't have to modify any build scripts,...
- Guillaume Piolat (5/9) Sep 29 2016 More or less related: it would be nice if DVM supports LDC
- Jacob Carlborg (6/9) Sep 30 2016 Yeah, that would be nice. Would it be interesting to have "dmd" point to...
- Guillaume Piolat (4/7) Sep 30 2016 Confusing. For me it's much more common to want a current DMD
- Jacob Carlborg (6/8) Oct 01 2016 My idea was that this would allow to compile using LDC for a build
- Jacob Carlborg (4/5) Sep 28 2016 You can install using DVM as well, it will take precedence.
I've got my Mac reinstalled. I haven't installed D (dmd) yet. I would like to hear what people think. I'm thinking using home brew. And install the latest Code X.
Sep 28 2016
On Wednesday, 28 September 2016 at 08:18:40 UTC, Joel wrote:I'm thinking using home brew.Use the DMD installer instead on dlang.org
Sep 28 2016
On Wednesday, 28 September 2016 at 09:15:15 UTC, Guillaume Piolat wrote:On Wednesday, 28 September 2016 at 08:18:40 UTC, Joel wrote:Any particular reason? I've been using homebrew for it. I like the simple command line update.I'm thinking using home brew.Use the DMD installer instead on dlang.org
Sep 28 2016
On Wednesday, 28 September 2016 at 09:34:23 UTC, Mike Parker wrote:Not really. I didn't know it was up-to-date. Las time I tried it wasn't up-to-date for LDC and I tend to change compilers often, so I wrote if off.Use the DMD installer instead on dlang.orgAny particular reason? I've been using homebrew for it. I like the simple command line update.
Sep 28 2016
On Wednesday, 28 September 2016 at 09:15:15 UTC, Guillaume Piolat wrote:On Wednesday, 28 September 2016 at 08:18:40 UTC, Joel wrote:What is the advantage from the site? Should I use home brew for every thing else?I'm thinking using home brew.Use the DMD installer instead on dlang.org
Sep 28 2016
On 2016-09-28 10:18, Joel wrote:I've got my Mac reinstalled. I haven't installed D (dmd) yet. I would like to hear what people think. I'm thinking using home brew. And install the latest Code X.You need Xcode and I recommend installing using DVM [1]. It allows you to have multiple versions of DMD installed and you can easily switch between them [2]. [1] https://github.com/jacob-carlborg/dvm [2] http://dlang.org/blog/2016/08/17/inside-d-version-manager/ -- /Jacob Carlborg
Sep 28 2016
On Wednesday, 28 September 2016 at 09:34:46 UTC, Jacob Carlborg wrote:On 2016-09-28 10:18, Joel wrote:Oops, I got confused and installed with homebrew. I was going to try DVM.I've got my Mac reinstalled. I haven't installed D (dmd) yet. I would like to hear what people think. I'm thinking using home brew. And install the latest Code X.You need Xcode and I recommend installing using DVM [1]. It allows you to have multiple versions of DMD installed and you can easily switch between them [2]. [1] https://github.com/jacob-carlborg/dvm [2] http://dlang.org/blog/2016/08/17/inside-d-version-manager/
Sep 28 2016
On Thursday, 29 September 2016 at 01:33:00 UTC, Joel wrote:Oops, I got confused and installed with homebrew. I was going to try DVM.Jacob is also the author of DVM, so he might be a bit biased. ;) I've had good experiences using Homebrew, although you sometimes have to wait a day or three for a new release to appear. — David
Sep 28 2016
On 2016-09-29 03:43, David Nadlinger wrote:Jacob is also the author of DVM, so he might be a bit biased. ;)And you would never recommend LDC? ;)I've had good experiences using Homebrew, although you sometimes have to wait a day or three for a new release to appear. — DavidDVM doesn't have that problem :). How easy is it to have multiple versions of DMD installed using Homebrew? -- /Jacob Carlborg
Sep 28 2016
On Thursday, 29 September 2016 at 06:24:08 UTC, Jacob Carlborg wrote:On 2016-09-29 03:43, David Nadlinger wrote:It seems simple: --- hw0062:~ pinver$ brew info dmd dmd: stable 2.071.2 (bottled), HEAD D programming language compiler for OS X https://dlang.org/ /usr/local/Cellar/dmd/2.071.0_1 (561 files, 65.0M) Poured from bottle on 2016-06-23 at 14:51:10 /usr/local/Cellar/dmd/2.071.1 (561 files, 65.0M) Poured from bottle on 2016-07-06 at 09:48:40 /usr/local/Cellar/dmd/2.071.2 (561 files, 65.0M) * Poured from bottle on 2016-09-26 at 11:50:45 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/dmd.rb hw0062:~ pinver$ dmd --version DMD64 D Compiler v2.071.2 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright hw0062:~ pinver$ brew switch dmd 2.071.0_1 Cleaning /usr/local/Cellar/dmd/2.071.0_1 Cleaning /usr/local/Cellar/dmd/2.071.1 Cleaning /usr/local/Cellar/dmd/2.071.2 13 links created for /usr/local/Cellar/dmd/2.071.0_1 hw0062:~ pinver$ dmd --version DMD64 D Compiler v2.071.0 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright --- /PaoloI've had good experiences using Homebrew, although you sometimes have to wait a day or three for a new release to appear. — DavidDVM doesn't have that problem :). How easy is it to have multiple versions of DMD installed using Homebrew?
Sep 29 2016
On 2016-09-29 10:29, Paolo Invernizzi wrote:It seems simple: --- hw0062:~ pinver$ brew info dmd dmd: stable 2.071.2 (bottled), HEAD D programming language compiler for OS X https://dlang.org/ /usr/local/Cellar/dmd/2.071.0_1 (561 files, 65.0M) Poured from bottle on 2016-06-23 at 14:51:10 /usr/local/Cellar/dmd/2.071.1 (561 files, 65.0M) Poured from bottle on 2016-07-06 at 09:48:40 /usr/local/Cellar/dmd/2.071.2 (561 files, 65.0M) * Poured from bottle on 2016-09-26 at 11:50:45 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/dmd.rb hw0062:~ pinver$ dmd --version DMD64 D Compiler v2.071.2 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright hw0062:~ pinver$ brew switch dmd 2.071.0_1 Cleaning /usr/local/Cellar/dmd/2.071.0_1 Cleaning /usr/local/Cellar/dmd/2.071.1 Cleaning /usr/local/Cellar/dmd/2.071.2 13 links created for /usr/local/Cellar/dmd/2.071.0_1 hw0062:~ pinver$ dmd --version DMD64 D Compiler v2.071.0 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright ---Cool, what if I want to use different versions in different sessions, i.e. I have two tabs open in my terminal? -- /Jacob Carlborg
Sep 29 2016
On Thursday, 29 September 2016 at 11:43:32 UTC, Jacob Carlborg wrote:Cool, what if I want to use different versions in different sessions, i.e. I have two tabs open in my terminal?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 --- /Paolo
Sep 29 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
Sep 30 2016
On Thursday, 29 September 2016 at 06:24:08 UTC, Jacob Carlborg wrote:On 2016-09-29 03:43, David Nadlinger wrote:More or less related: it would be nice if DVM supports LDC fetching and switching. The use case I see is that you often want one DMD and one LDC.Jacob is also the author of DVM, so he might be a bit biased. ;)And you would never recommend LDC? ;)
Sep 29 2016
On 2016-09-29 14:59, Guillaume Piolat wrote:More or less related: it would be nice if DVM supports LDC fetching and switching. The use case I see is that you often want one DMD and one LDC.Yeah, that would be nice. Would it be interesting to have "dmd" point to "ldmd2" when LDC is selected as the current compiler? Or is that just confusing. -- /Jacob Carlborg
Sep 30 2016
On Friday, 30 September 2016 at 07:36:58 UTC, Jacob Carlborg wrote:Yeah, that would be nice. Would it be interesting to have "dmd" point to "ldmd2" when LDC is selected as the current compiler? Or is that just confusing.Confusing. For me it's much more common to want a current DMD compiler and a current LDC compiler.
Sep 30 2016
On 2016-09-30 16:17, Guillaume Piolat wrote:Confusing. For me it's much more common to want a current DMD compiler and a current LDC compiler.My idea was that this would allow to compile using LDC for a build script that was only designed with DMD in mind. Of course the "ldc2" and "ldmd2" binaries would be available as well. -- /Jacob Carlborg
Oct 01 2016
On 2016-09-29 03:33, Joel wrote:Oops, I got confused and installed with homebrew. I was going to try DVM.You can install using DVM as well, it will take precedence. -- /Jacob Carlborg
Sep 28 2016