Skip to content

Commit 19e89c6

Browse files
macOS: Document macOS prerequisites in README
Signed-off-by: Anton Kolesov <[email protected]>
1 parent 2ad833e commit 19e89c6

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ New Features and Enhancements
2020

2121
* Toolchain Build Scripts
2222
* Removed obsolete unsupported scripts.
23+
* macOS support.
2324

2425
[[TBD]]
2526

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,37 @@ instead versions of those libraries installed on the build host will be used.
7474
In most cases this is not required.
7575

7676

77+
### macOS Prerequisites
78+
79+
By default HFS on macOS is configured to be case-insensitive, which is known to
80+
cause issues with Linux sources (there are files which differ only in character
81+
case). As a result to build uClibc toolchain for ARC it is required to use
82+
partition that is configured to be case sensitive (use Disk Utility to create a
83+
new partition, at least 16 GiB are needed to build uClibc toolchain, 32 GiB are
84+
needed to build a complete baremetal toolchain. With baremetal (elf) toolchain
85+
there are no such problems.
86+
87+
To build toolchain on macOS it is required to install several prerequisites
88+
which are either not installed by default or non-GNU-compatible versions are
89+
installed by default. This easily can be done with Homebrew:
90+
91+
# Install homebrew itself (https://brew.sh/)
92+
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
93+
94+
# Install wget
95+
$ brew install wget
96+
97+
# Install GNU sed
98+
$ brew install gnu-sed
99+
100+
To build PDF documentation for toolchain TeX must be installed:
101+
102+
$ brew cask install mactex
103+
104+
If PDF documentation is not needed, pass option `--no-pdf` to build-all.sh to
105+
disable its build, then mactex is not required.
106+
107+
77108
Getting sources
78109
---------------
79110

0 commit comments

Comments
 (0)