[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Bison 3 in untainted macOS installs

From: Hans Åberg
Subject: Re: No Bison 3 in untainted macOS installs
Date: Sat, 15 Dec 2018 15:20:27 +0100

> On 15 Dec 2018, at 11:05, Uxio Prego <address@hidden> wrote:
> Does anybody know when Bison 3 is going to be added to
> macOS?
> Fortunately other projects such as Homebrew allow a
> straightforward selection of a cutting edge alternative Bison
> under `/usr/local/`, however isn't it a bit sad to add Homebrew
> as a dependency to some other software if it would be added
> **only** for de facto upgrading the ancient Bison 2.3 ~2006 to
> the contemporary Bison 3?

Bison installs in /usr/local/ direct from the sources in [1], and works fine 
will their inhouse version of clang. Bison also needs m4 which can be installed 
the same from [2]. Just compile with ./configure && make, and 'make pdf' if you 
want the PDF manual, then sud only on the install: 'sudo make install' and 
'sudo make install-pdf'.

Also, MacPorts [3] packages tend to be more up-to-date. It is installed in 
/opt/, so /usr/local doesn't get cluttered. So it is possible to choose what 
one wants, say GCC from MacPorts, and the original Clang from their site in 
different builds, especially easy if you use Automake, which admits out of 
source tree compilation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]