Re: Updating Bison
Re: Updating Bison
- Subject: Re: Updating Bison
- From: Jens Alfke <email@hidden>
- Date: Thu, 10 Apr 2014 07:51:13 -0700
On Apr 10, 2014, at 6:48 AM, McLaughlin, Michael P. <email@hidden> wrote:
> Xcode 5.1 uses Bison 2.3. Is it safe to replace
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison
> with Bison 3? If so, would a subsequent Xcode update override this with an older version of Bison?
If you want to install a newer version of a tool that comes with Mac OS or with Xcode, you should install it into a different location (typically /usr/local/bin or /opt/bin) and edit your shell's $PATH to put that location at the start of the search path.
In general, the best way to install such tools is by using a package manager like Homebrew or MacPorts. They install tools into those nonstandard locations and will take care of installing dependencies for you, all with a simple one-line command like “brew install bison”.
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Updating Bison (From: "McLaughlin, Michael P." <email@hidden>) |