I'v followed this tutorial https://github.com/esp8266/esp8266-wiki/wiki/Toolchain and try to build the AT-example.
Running 'make' I've got an error about the command 'xtensa-lx106-elf' not being found. Solved this by adding '/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/' to my PATH variable.
export PATH=/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/:$PATH
Now, when running 'make', I'm getting an error about string.h not being found(http://pastebin.com/apzBNrBX). A file '/opt/Espressif/include/string.h' is existing.
How should I continue?