www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - brew install dmd

reply Joel <joelcnz gmail.com> writes:
but still 2.074.0 (not 74.1)

I'm not that familier brew. I've tried `brew upgrade` and `brew 
update`.

Joels-MacBook-Pro:Testing joelchristensen$ brew upgrade dmd
==> Upgrading 1 outdated package, with result:
dmd 2.074.1
==> Upgrading dmd
==> Downloading 
https://homebrew.bintray.com/bottles/dmd-2.074.1.sierra.bottle.t
######################################################################## 100.0%
==> Pouring dmd-2.074.1.sierra.bottle.tar.gz
==> Using the sandbox
Warning: An old dmd.conf was found and will be moved to 
/usr/local/etc/dmd.conf.old.
🍺  /usr/local/Cellar/dmd/2.074.1: 587 files, 67MB
Joels-MacBook-Pro:Testing joelchristensen$ dmd
DMD64 D Compiler v2.074.0
Jun 10
parent reply Mike Parker <aldacron gmail.com> writes:
On Sunday, 11 June 2017 at 01:30:37 UTC, Joel wrote:
 but still 2.074.0 (not 74.1)
 Joels-MacBook-Pro:Testing joelchristensen$ dmd
 DMD64 D Compiler v2.074.0
It's probably related to this: http://forum.dlang.org/post/abyacihlxtcphnhzinbz forum.dlang.org
Jun 10
parent reply Joel <joelcnz gmail.com> writes:
On Sunday, 11 June 2017 at 02:38:21 UTC, Mike Parker wrote:
 On Sunday, 11 June 2017 at 01:30:37 UTC, Joel wrote:
 but still 2.074.0 (not 74.1)
 Joels-MacBook-Pro:Testing joelchristensen$ dmd
 DMD64 D Compiler v2.074.0
It's probably related to this: http://forum.dlang.org/post/abyacihlxtcphnhzinbz forum.dlang.org
Looks like I could put this: curl https://i.dlang.io | bash -s But I'm not sure about doing this.
Jun 10
next sibling parent reply Mike Parker <aldacron gmail.com> writes:
On Sunday, 11 June 2017 at 03:48:57 UTC, Joel wrote:
 curl https://i.dlang.io | bash -s

 But I'm not sure about doing this.
I'm don't what that means, but Homebrew is giving you 2.074.1, it's just that the binary has the wrong version number compiled in.
Jun 10
parent Joel <joelcnz gmail.com> writes:
On Sunday, 11 June 2017 at 03:54:05 UTC, Mike Parker wrote:
 On Sunday, 11 June 2017 at 03:48:57 UTC, Joel wrote:
 curl https://i.dlang.io | bash -s

 But I'm not sure about doing this.
I'm don't what that means, but Homebrew is giving you 2.074.1, it's just that the binary has the wrong version number compiled in.
Oh, ok. Thanks Mike.
Jun 10
prev sibling parent reply Seb <seb wilzba.ch> writes:
On Sunday, 11 June 2017 at 03:48:57 UTC, Joel wrote:
 On Sunday, 11 June 2017 at 02:38:21 UTC, Mike Parker wrote:
 On Sunday, 11 June 2017 at 01:30:37 UTC, Joel wrote:
 but still 2.074.0 (not 74.1)
 Joels-MacBook-Pro:Testing joelchristensen$ dmd
 DMD64 D Compiler v2.074.0
It's probably related to this: http://forum.dlang.org/post/abyacihlxtcphnhzinbz forum.dlang.org
Looks like I could put this: curl https://i.dlang.io | bash -s But I'm not sure about doing this.
This is a copy of the __official__ D installer as advertised on dlang.org (http://dlang.org/download.html):
 curl -fsS https://dlang.org/install.sh | bash -s dmd
(the releases are signed) i.dlang.io is just a handy alternative, s.t. you can save keystrokes on a foreign machine and install dmd in 25 keystrokes (`curl i.dlang.io | bash -s`).
Jun 10
parent Joel <joelcnz gmail.com> writes:
On Sunday, 11 June 2017 at 04:08:56 UTC, Seb wrote:
 But I'm not sure about doing this.
This is a copy of the __official__ D installer as advertised on dlang.org (http://dlang.org/download.html):
 curl -fsS https://dlang.org/install.sh | bash -s dmd
(the releases are signed) i.dlang.io is just a handy alternative, s.t. you can save keystrokes on a foreign machine and install dmd in 25 keystrokes (`curl i.dlang.io | bash -s`).
I only want to use Home Brew. I'm still getting `pointer not aligned` linker errors!
Jun 11