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

User avatar
By inx
#12930 Hello.

I try to compile the at example provided in the SDK.
As suggested in other posts i moved the at folder into SDK root.
now i try to compile form SDK_ROOT/at/
typing "make" i get:

Code: Select allmake -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory.  Stop.
make: *** [crosstool-NG/ct-ng] Error 2

where does "-C crosstool-NG" come from? i don't see it.
of course it fails, there is not crosstool-NG folder in SDK_ROOT/at/

what do i miss? how to change where crosstool-NG is located?

thanks for any advise.
inx
User avatar
By GeorgeIoak
#18056 Hi Cal,

Yes, I'm using that too. I actually followed a nice tutorial from Adafruit on compiling micro python (
Code: Select allhttps://learn.adafruit.com/building-and-running-micropython-on-the-esp8266?view=all
which worked fine so it's something in the Makefile of the examples.

I'm familiar with cross compiling for several platforms but when things like this happen I struggle a bit to find the reason why things fail. I was hoping that someone more experienced could help out as it would take me several more hours to try and find how to fix this.

Thanks,
George