I am having a problem compiling the source code of the NONOS_SDK under Ubuntu linux.
I tried to compile the blinky example with using the attached makefile and it worked the first time.
I even downloaded it in the ESP8266 and I have the led blinking.
Just to try I changed the number of milliseconds in the example and I tried to recompile it again but I didn't have success.
The error I get is the followig:
franco@franco-VirtualBox:~/esp-open-sdk/blinky$ make
xtensa-lx106-elf-gcc -I. -mlongcalls -c -o blinky.o blinky.c
make: xtensa-lx106-elf-gcc: Command not found
<builtin>: recipe for target 'blinky.o' failed
make: *** [blinky.o] Error 127
franco@franco-VirtualBox:~/esp-open-sdk/blinky$
I already put
export PATH="$PATH:~/esp-open-sdk/xtensa-lx106-elf/bin/:~/esp-open-sdk/esptool:~/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf"
In both .profile and .bashrc.
If I try manually to launch the compiler I get an error that it cannot find the libraries but it finds the command.
Why does make not find it?
Is it a known problem (due to my linux-newbbiness) or is it something new?
I think it's something stupid that I am missing but I cannot figure it out myself
I hope you can help me.