This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
setup-osx-compiler-esp8266 [2015/01/14 07:18] poopi |
setup-osx-compiler-esp8266 [2015/08/19 16:42] jseb [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 (for gobjcopy) | ||
+ | brew install gawk (required overwriting the non-gnu awk in my case) | ||
+ | brew install wget | ||
+ | brew install automake | ||
+ | brew install libtool | ||
+ | | ||
+ | If you get the error "configure: error: could not find GNU awk", run | ||
+ | |||
+ | brew link --overwrite gawk | ||
| | ||
===== esp-open-sdk with MacPorts ===== | ===== esp-open-sdk with MacPorts ===== | ||
Line 22: | Line 32: | ||
==== 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 48: | ||
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 | ||
| | ||
- | |||
- |