1. 程式人生 > >8266編譯錯誤 xtensa-lx106-elf/bin/ld: segmentled section `.text' will not fit in region `iram1_0_seg'

8266編譯錯誤 xtensa-lx106-elf/bin/ld: segmentled section `.text' will not fit in region `iram1_0_seg'

一種簡單的解決辦法

Okay, the solution was to copy the libgcc.a file from:

esp-open-sdk/ESP8266_NONOS/lib/

to

esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5

Now everything is working fine! I can't believe it... :D