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

User avatar
By cal
#19856
pvvx wrote:
cal wrote:Do you have any concrete examples with input, your actions and a wrong result or an incompatible abi disassembly
with prototypes?
Espressif SDK = Xplorer-3.0.1 -> RC-2010.1-win32\lx106\xtensa-elf\lib\xcc\libgcc.a
"RC-2010.1\lxinnovation\delivery\lx106\104196\xbuild\Target-libs\libgcc-xcc GNU AS 2.18"
Some procedures are different from the new libgcc.a...
Full analysis I did not make.

It's quite normal that different implementations exist for some spec.
I don't see why thats a problem.
User avatar
By pvvx
#19858
cal wrote:It's quite normal that different implementations exist for some spec.
I don't see why thats a problem.

SDK 1.10 compiled with : -O2 -g3 Xtensa Compiler Version 8.0.1.
Variables from libraries libgcc differently distributed memory. Can lead to dual-use RAM.
libgcc.a and libc.a used .rodata constants.
------
The SDK Espressif a lot of requests for an uninitialized pointer. In another merger gives error. :)
User avatar
By pvvx
#20267 NodeMCU + SDK1.1.1 not work = WDT:
Code: Select all16:38:30.277> NodeMCU 1.1.1 build 20150612  powered by Lua 5.1.4
16:38:30.277> lua: cannot open init.lua
16:38:35.632> > c_ÇRSöfJSúfJSúê8ŸŽþ†—‡‡ŽŽþ‡Š’ú‡†cþ
16:38:35.632>
16:38:35.693> NodeMCU 1.1.1 build 20150612  powered by Lua 5.1.4
16:38:35.693> lua: cannot open init.lua
16:38:37.567> > c_ÇRSöfJSúfJSúfêcþ
16:38:37.567>
16:38:37.635> NodeMCU 1.1.1 build 20150612  powered by Lua 5.1.4
16:38:37.635> lua: cannot open init.lua
16:38:39.501> > c_ÇRSöfJSúfJSúêcþ
16:38:39.501>
16:38:39.577> NodeMCU 1.1.1 build 20150612  powered by Lua 5.1.4
16:38:39.577> lua: cannot open init.lua
>

Code: Select all------------------------------------------------------------------------------
Section info:
   Section|                   Description| Start (hex)|   End (hex)|Used space
------------------------------------------------------------------------------
      data|        Initialized Data (RAM)|    3FFE8000|    3FFE8AE8|    2792
    rodata|           ReadOnly Data (RAM)|    3FFE8AF0|    3FFEC18C|   13980
       bss|      Uninitialized Data (RAM)|    3FFEC190|    3FFF5F90|   40448
      text|            Cached Code (IRAM)|    40100000|    40107554|   30036
irom0_text|           Uncached Code (SPI)|    40210000|    40269380|  365440
Total Used RAM : 57220
Free RAM : 24700
Free IRam : 2750