5
Line | |
---|
1 | .. SPDX-License-Identifier: CC-BY-SA-4.0 |
---|
2 | |
---|
3 | .. Copyright (C) 2016 Chris Johns <chrisj@rtems.org> |
---|
4 | |
---|
5 | .. _MacOS: |
---|
6 | |
---|
7 | Apple MacOS |
---|
8 | =========== |
---|
9 | |
---|
10 | Apple's OS X is fully supported. You need to download and install a recent |
---|
11 | version of the Apple developer application Xcode. Xocde is available in the App |
---|
12 | Store. Make sure you install the Command Line Tools add on available for |
---|
13 | download within Xcode and once installed open a Terminal shell and enter the |
---|
14 | command ``cc`` and accept the license agreement. |
---|
15 | |
---|
16 | The normal prefix when working on OS X as a user is under your home directory. |
---|
17 | Prefixes of :file:`$HOME/development/rtems` or :file:`$HOME/rtems` are |
---|
18 | suitable. |
---|
19 | |
---|
20 | :ref:`QuickStartPrefixes` details using Prefixes to manage the installation. |
---|
21 | |
---|
22 | .. _Mavericks: |
---|
23 | |
---|
24 | Mavericks |
---|
25 | ~~~~~~~~~ |
---|
26 | |
---|
27 | The RSB works on Mavericks and the GNU tools can be built for RTEMS using the |
---|
28 | Mavericks clang LLVM tool chain. You will need to build and install a couple of |
---|
29 | packages to make the RSB pass the ``sb-check``. These are CVS and XZ. You can get |
---|
30 | these tools from a packaging tool for MacOS such as *MacPorts* or *HomeBrew*. |
---|
31 | |
---|
32 | I do not use third-party packaging on MacOS and prefer to build the packages from |
---|
33 | source using a prefix of ``/usr/local``. There are good third-party packages around |
---|
34 | however they sometimes bring in extra dependence and that complicates my build |
---|
35 | environment and I want to know the minimal requirements when building |
---|
36 | tools. The following are required: |
---|
37 | |
---|
38 | . The XZ package's home page is http://tukaani.org/xz/ and I use version |
---|
39 | 5.0.5. XZ builds and installs cleanly. |
---|
40 | |
---|
41 | Sierra |
---|
42 | ~~~~~~ |
---|
43 | |
---|
44 | The RSB works on Sierra with the latest Xcode. |
---|
Note: See
TracBrowser
for help on using the repository browser.