Skip to content

Commit 35c066e

Browse files
committed
README.OSX: mention Gentoo Prefix and clarify other options
Change-Id: I431bfb9acf7dd6ad61b9e8f5c20568be22e9f39d Signed-off-by: Paul Fertser <[email protected]> Reviewed-on: http://openocd.zylin.com/2146 Tested-by: jenkins Reviewed-by: Xiaofan <[email protected]> Reviewed-by: Spencer Oliver <[email protected]>
1 parent ae3baa9 commit 35c066e

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

README.OSX

+22-7
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,36 @@ There are a few prerequisites you will need first:
55

66
- Xcode 5 (install from the AppStore)
77
- Command Line Tools (install from Xcode 5 -> Preferences -> Downloads)
8-
- MacPorts (http://www.macports.org/install.php)
8+
- Gentoo Prefix (http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap.xml)
99
or
1010
- Homebrew (http://mxcl.github.io/homebrew/)
11+
or
12+
- MacPorts (http://www.macports.org/install.php)
13+
14+
15+
With Gentoo Prefix you can build the release version or the latest
16+
devel version (-9999) the usual way described in the Gentoo
17+
documentation. Alternatively, install the prerequisites and build
18+
manually from the sources.
19+
20+
21+
With Homebrew you can either run:
22+
brew install [--HEAD] openocd (where optional --HEAD asks brew to
23+
install the current git version)
24+
or
25+
brew install libtool automake libusb [libusb-compat] [hidapi] [libftdi]
26+
(to install the needed dependencies and then proceed with the
27+
manual building procedure)
28+
1129

12-
libtool, automake, autoconf, pkg-config and libusb can be easily
13-
installed via MacPorts:
14-
sudo port install libtool automake autoconf pkgconfig libusb [libusb-compat]
15-
or with Homebrew:
16-
brew install libtool automake libusb [libusb-compat] [hidapi]
30+
For building with MacPorts you need to run:
31+
sudo port install libtool automake autoconf pkgconfig \
32+
libusb [libusb-compat] [libftdi1]
1733

1834
You should also specify LDFLAGS and CPPFLAGS to allow configure to use
1935
MacPorts' libraries, so run configure like this:
2036
LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include ./configure [options]
2137

22-
If you're using Homebrew, no custom flags are necessary.
2338

2439
See README for the generic building instructions.
2540

0 commit comments

Comments
 (0)