Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By un1
#81901 hi,

I m following the esp8266 getting start page:
https://docs.espressif.com/projects/esp ... index.html

download & installed the toolchain: (windows)
https://dl.espressif.com/dl/esp32_win32 ... 180110.zip

then get the sdk by:
git clone --recursive https://github.com/espressif/ESP8266_RTOS_SDK.git

after that set sevrial env variables and start the compiling, but I got the tool could found info:
$ make
/bin/sh: xtensa-lx106-elf-gcc: 未找到命令
/bin/sh: xtensa-lx106-elf-gcc: 未找到命令
d error:


the env is ok:
$ printenv | grep PATH
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
IDF_PATH=/home/Un1/esp/ESP8266_RTOS_SDK
ACLOCAL_PATH=/mingw32/share/aclocal:/usr/share/aclocal
MANPATH=/mingw32/local/man:/mingw32/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man
PATH=/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PKG_CONFIG_PATH=/mingw32/lib/pkgconfig:/mingw32/share/pkgconfig
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/share/info
HOMEPATH=\Users\Un1
ORIGINAL_PATH=/c/Windows/System32:/c/

but there is no compile tool, it seems just the tool for esp32 there:
$ ls /opt/
xtensa-esp32-elf

what's the wrong? thank you!