@@ -5,21 +5,36 @@ There are a few prerequisites you will need first:
5
5
6
6
- Xcode 5 (install from the AppStore)
7
7
- 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 )
9
9
or
10
10
- 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
+
11
29
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]
17
33
18
34
You should also specify LDFLAGS and CPPFLAGS to allow configure to use
19
35
MacPorts' libraries, so run configure like this:
20
36
LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include ./configure [options]
21
37
22
- If you're using Homebrew, no custom flags are necessary.
23
38
24
39
See README for the generic building instructions.
25
40
0 commit comments