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

User avatar
By cal
#19852
pvvx wrote:
jcmvbkbc wrote:-fno-tree-ccp -Os

It creates a non-working code :lol:

@cal
SDK uses a different library libgcc.a. The ROM-BIOS code from the old library and libgcc.a another compiler. The combination is not 100%.
My version cropped libgcc tested to use the current version of SDK and configuration gcc...

Do you have any concrete examples with input, your actions and a wrong result or an incompatible abi disassembly
with prototypes?
User avatar
By pvvx
#19855
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.