source: rtems-docs/user/hosts/macos.rst @ 2674d6a

5
Last change on this file since 2674d6a was 2674d6a, checked in by Chris Johns <chrisj@…>, on 02/21/19 at 02:06:58

user: Remove nit-picky warnings.

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