README: Add instructions for MacOS
This commit is contained in:
parent
31ef9133b5
commit
582732b511
19
README.md
19
README.md
@ -35,14 +35,29 @@ Building
|
|||||||
|
|
||||||
To build the standalone SDK and toolchain, you need a GNU/POSIX system
|
To build the standalone SDK and toolchain, you need a GNU/POSIX system
|
||||||
(Linux, BSD, MacOSX, Windows with Cygwin) with the standard GNU development
|
(Linux, BSD, MacOSX, Windows with Cygwin) with the standard GNU development
|
||||||
tools installed: gcc, binutils, flex, bison, etc. For Ubuntu 14.04
|
tools installed: gcc, binutils, flex, bison, etc.
|
||||||
run:
|
|
||||||
|
|
||||||
|
## Ubuntu 14.04
|
||||||
```
|
```
|
||||||
$ sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
|
$ sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
|
||||||
flex bison texinfo gawk ncurses-dev libexpat-dev python sed
|
flex bison texinfo gawk ncurses-dev libexpat-dev python sed
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## MacOS:
|
||||||
|
```bash
|
||||||
|
$ brew tap homebrew/dupes
|
||||||
|
$ brew install binutils coreutils automake wget gawk libtool gperf gnu-sed --with-default-names grep
|
||||||
|
$ export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
|
||||||
|
```
|
||||||
|
|
||||||
|
In addition to the development tools MacOS needs a case-sensitive filesystem.
|
||||||
|
You might need to create a virtual disk and build esp-open-sdk on it:
|
||||||
|
```bash
|
||||||
|
$ sudo hdiutil create ~/Documents/case-sensitive.dmg -volname "case-sensitive" -size 10g -fs "Case-sensitive HFS+"
|
||||||
|
$ sudo hdiutil mount ~/Documents/case-sensitive.dmg
|
||||||
|
$ cd /Volumes/case-sensitive
|
||||||
|
```
|
||||||
|
|
||||||
For other Debian/Ubuntu versions, dependencies may be somewhat different.
|
For other Debian/Ubuntu versions, dependencies may be somewhat different.
|
||||||
E.g. you may need to install libtool-bin, etc.
|
E.g. you may need to install libtool-bin, etc.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user