This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
setup-osx-compiler-esp8266 [2015/01/14 07:18] poopi |
setup-osx-compiler-esp8266 [2017/03/13 22:41] (current) polarstate [Dependencies] |
||
---|---|---|---|
Line 7: | Line 7: | ||
hdiutil create ~/Desktop/eos.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+" | hdiutil create ~/Desktop/eos.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+" | ||
hdiutil mount ~/Desktop/eos.dmg | hdiutil mount ~/Desktop/eos.dmg | ||
- | cd /Volumes/eos-open-sdk | + | cd /Volumes/esp-open-sdk |
===== esp-open-sdk with Brew ===== | ===== esp-open-sdk with Brew ===== | ||
Line 17: | Line 17: | ||
brew install gperf | brew install gperf | ||
brew install grep | brew install grep | ||
+ | brew install autoconf | ||
+ | brew install binutils | ||
+ | brew install gawk | ||
+ | brew install wget | ||
+ | brew install automake | ||
+ | brew install libtool | ||
+ | brew install help2man | ||
+ | |||
+ | binutils is needed for gobjcopy | ||
+ | |||
+ | gawk is required for overwriting the non-gnu awk in my case | ||
+ | | ||
+ | If you get the error "configure: error: could not find GNU awk", run | ||
+ | |||
+ | brew link --overwrite gawk | ||
+ | | ||
+ | If you get the error "./zconf.hash.c:167:1: error: conflicting types for 'kconf_id_lookup'" | ||
+ | |||
+ | brew uninstall gperf | ||
| | ||
+ | see: https://github.com/pfalcon/esp-open-sdk/issues/236 for reference | ||
===== esp-open-sdk with MacPorts ===== | ===== esp-open-sdk with MacPorts ===== | ||
==== Dependencies ==== | ==== Dependencies ==== | ||
- | sudo port install gsed gawk binutils gperf grep gettext py-serial | + | sudo port install gsed gawk binutils gperf grep gettext py-serial wget |
| | ||
==== Get the compiler ==== | ==== Get the compiler ==== | ||
Line 38: | Line 58: | ||
sed -i.bak 's/AM_PROG_AS/AM_PROG_AS\'$'\nAM_PROG_AR/' lx106-hal/configure.ac | sed -i.bak 's/AM_PROG_AS/AM_PROG_AS\'$'\nAM_PROG_AR/' lx106-hal/configure.ac | ||
| | ||
- | |||
- |