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

User avatar
By lupengfei
#94074 Generating esp8266.project.ld
LD /d/esp/AiThinkerProjectForESP/examples/get-started/hello_world/build/hello-world.elf
d:/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano
collect2.exe: error: ld returned 1 exit status
make: *** [D:\esp\ESP8266_RTOS_SDK/make/project.mk:510: /d/esp/AiThinkerProjectForESP/examples/get-started/hello_world/build/hello-world.elf] Error 1

I'm here for an official example.
No change is an error。 :|
User avatar
By quackmore
#94191
d:/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano


you're missing libc_nano.a
that means you're not using the proper toolchain
google for "esp rtos toolchain" or check ESP8266_RTOS_SDK manuals