ESP8266 Support WIKI

User Tools

Site Tools


**This is an old revision of the document!**

Table of Contents

Mac OSX Compiler Setups


esp-open-sdk can be installed almost as described in Linux Compiler Setups.

Some problems have been reported if you build the toolchain in a case-insensitive filesystem. To avoid these issues create a case-sensitive volume:

hdiutil create ~/Desktop/eos.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+"
hdiutil mount ~/Desktop/eos.dmg
cd /Volumes/eos-open-sdk

esp-open-sdk with Brew


brew install gnu-sed --with-default-names
brew tap homebrew/dupes
brew install gperf
brew install grep
brew install autoconf
brew install binutils (for gobjcopy)
brew install gawk (required overwriting the non-gnu awk in my case)
brew install autoconf

If you get the error “configure: error: could not find GNU awk”, run

brew link --overwrite gawk

esp-open-sdk with MacPorts


sudo port install gsed gawk binutils gperf grep gettext py-serial

Get the compiler

git clone --recursive

Note the –recursive option. This will force git to initialize modules.


These needs to be applied before build.

sed -i.bak '1s/^/gettext=\'$'\n/' crosstool-NG/kconfig/Makefile
sed -i.bak -e 's/[[:<:]]sed[[:>:]]/gsed/' Makefile
sed -i.bak -e 's/[[:<:]]awk[[:>:]]/\$(AWK)/' lx106-hal/src/
sed -i.bak 's/AM_PROG_AS/AM_PROG_AS\'$'\nAM_PROG_AR/' lx106-hal/
setup-osx-compiler-esp8266.1423674749.txt.gz · Last modified: 2015/02/11 17:12 by nfriedly