Skip to content
Snippets Groups Projects
Commit 35c066e2 authored by Paul Fertser's avatar Paul Fertser
Browse files

README.OSX: mention Gentoo Prefix and clarify other options


Change-Id: I431bfb9acf7dd6ad61b9e8f5c20568be22e9f39d
Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2146


Tested-by: jenkins
Reviewed-by: default avatarXiaofan <xiaofanc@gmail.com>
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent ae3baa9d
Branches
No related tags found
No related merge requests found
...@@ -5,21 +5,36 @@ There are a few prerequisites you will need first: ...@@ -5,21 +5,36 @@ There are a few prerequisites you will need first:
- Xcode 5 (install from the AppStore) - Xcode 5 (install from the AppStore)
- Command Line Tools (install from Xcode 5 -> Preferences -> Downloads) - Command Line Tools (install from Xcode 5 -> Preferences -> Downloads)
- MacPorts (http://www.macports.org/install.php) - Gentoo Prefix (http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap.xml)
or or
- Homebrew (http://mxcl.github.io/homebrew/) - Homebrew (http://mxcl.github.io/homebrew/)
or
- MacPorts (http://www.macports.org/install.php)
With Gentoo Prefix you can build the release version or the latest
devel version (-9999) the usual way described in the Gentoo
documentation. Alternatively, install the prerequisites and build
manually from the sources.
With Homebrew you can either run:
brew install [--HEAD] openocd (where optional --HEAD asks brew to
install the current git version)
or
brew install libtool automake libusb [libusb-compat] [hidapi] [libftdi]
(to install the needed dependencies and then proceed with the
manual building procedure)
libtool, automake, autoconf, pkg-config and libusb can be easily For building with MacPorts you need to run:
installed via MacPorts: sudo port install libtool automake autoconf pkgconfig \
sudo port install libtool automake autoconf pkgconfig libusb [libusb-compat] libusb [libusb-compat] [libftdi1]
or with Homebrew:
brew install libtool automake libusb [libusb-compat] [hidapi]
You should also specify LDFLAGS and CPPFLAGS to allow configure to use You should also specify LDFLAGS and CPPFLAGS to allow configure to use
MacPorts' libraries, so run configure like this: MacPorts' libraries, so run configure like this:
LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include ./configure [options] LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include ./configure [options]
If you're using Homebrew, no custom flags are necessary.
See README for the generic building instructions. See README for the generic building instructions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment