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

User avatar
By hagedornj
#13184 Hello,
I have the same problem (refer to the first post)

start...
../../Makefile:169: warning: overriding recipe for target `clean'
../Makefile:258: warning: ignoring old recipe for target `clean'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
make -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory. Stop.
make: *** [crosstool-NG/ct-ng] Error 2

But I can not find anything. I did not understand why the crosstool-NG is started again. The tool chain is already installed without any problems. Is it necessary to copy the tool chain into the /opt/ path? I have exported the path where I have generated the tool chain.
Many thanks in advance
joerg
User avatar
By cal
#13633 Moin,

the following worked for me on Ubuntu 14.04.
No need to copy stuff.

viewtopic.php?p=6935&sid=931e740ae7ca5979980946d86f2de6df#p6935
Code: Select allgit clone https://github.com/pfalcon/esp-open-sdk.git
git clone https://github.com/nodemcu/nodemcu-firmware.git

sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
    flex bison texinfo gawk ncurses-dev libexpat-dev python sed

cd esp-open-sdk
unset LD_LIBRARY_PATH
make
export PATH=/home/cal/sandbox/nodemcu/work/compile/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
cd ../nodemcu-firmware/
make


Hope that helps,
Carsten
User avatar
By delinend
#16486
cal wrote:Moin,

the following worked for me on Ubuntu 14.04.
No need to copy stuff.

viewtopic.php?p=6935&sid=931e740ae7ca5979980946d86f2de6df#p6935
Code: Select allgit clone https://github.com/pfalcon/esp-open-sdk.git
git clone https://github.com/nodemcu/nodemcu-firmware.git

sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
    flex bison texinfo gawk ncurses-dev libexpat-dev python sed

cd esp-open-sdk
unset LD_LIBRARY_PATH
make
export PATH=/home/cal/sandbox/nodemcu/work/compile/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
cd ../nodemcu-firmware/
make


Hope that helps,
Carsten


Hi Cal.

Dos this make a Lua Firmware, or is this only a AT firmware build ?
I'm looking for a guide, how to compile Lua with ex. SDK 1.0.1

Thanks and best regards