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

User avatar
By rupin.chheda
#1973 I followed all steps on the ESP8266 wiki to install the toolchain on a Raspberry PI. when I try to make the AT program I get the following error

Code: Select allpi@raspberrypi ~/esp_sources/at $ make
CC driver/uart.c
make: /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: Command not found
make: *** [build/driver/uart.o] Error 127


It looks like the GCC cannot be found, and its not there at the path. The build for the NG-tool went without errors.

Has anyone come across this problem?
User avatar
By ystrem
#2892
rupin.chheda wrote:I followed all steps on the ESP8266 wiki to install the toolchain on a Raspberry PI. when I try to make the AT program I get the following error

Code: Select allpi@raspberrypi ~/esp_sources/at $ make
CC driver/uart.c
make: /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: Command not found
make: *** [build/driver/uart.o] Error 127


It looks like the GCC cannot be found, and its not there at the path. The build for the NG-tool went without errors.

Has anyone come across this problem?


You don't have setup the path, follow this https://github.com/esp8266/esp8266-wiki/wiki/Toolchain#install-the-xtensa-crosstool-ng-as-local-user