hi angus,ESP_Angus wrote: ↑Thu Aug 22, 2019 1:16 amHi rudi,
Do you mean xt-xcc (the Cadence/Tensilica compiler, not based on gcc)?rudi ;-) wrote: ↑Wed Aug 21, 2019 7:12 pmdo you know, is there a config file for LX6, LX7 for the xt-gcc ( LX106 ) and can we theoretical use the xt-gcc (lx106) with an LX6, LX7 config file or do we need a full new xt-gcc compiler for each ( Lx6, Lx7 ) ? for esp8266(lx106) i use parallel xt-gcc from cadence - so
In theory you need the compiler to match the CPU that you have, so esp8266/lx106 compiler is not suitable for ESP32 or ESP32-S2. In practice maybe the code will run (as ESP8266 CPU is mostly simpler than newer CPUs) but it won't use newer features, will use call0 ABI not windowed, etc - code will overall be less optimised.
yes u are right, i mean the XT-XCC compiler, ( typo finger crossed )
use older version (bin) xt-xcc version 188.8.131.52 (xcc-lib) xt-xcc version 8.0.1
but i use also the open src gcc compiler for 8266's
for each target we need then an own (lx106, Lx6, Lx7) compiler?
i thinked allways it is enough to have the target config file (lx106-params) / (lx***-params) for each and would be enough.
ok learned a part now from you i am not the compiler build prof in this
or I'm too relaxed on vacation and my brain is on reserve. / switched off.
so i know my next lession for this winter for deeper look in.
never stop going learing -
from read, ESP32 is LX6 core and ESP32S2 is LX7 (64 FLOP) core
we use/get then a different toolchain ( compiler ) for ESP32S2 ?
The toolchain tuple is xtensa-esp32s2-elf-, for example gcc for this target is named xtensa-esp32s2-elf-gcc.
I think I've mixed apples and pears now.
the (cross) compiler build needs the config params
for the toolchain. I really thought now
this config params file is enough
to use with the END (cross) compiler that was formed.
I'm happy to be on vacation - so much mixed up in my head
hope I come back in order
(( but can not keep his fingers off the computer just turn it off ))
but the knowledge about compiler construction itself is intensified in the winter,
I have since discovered a few gaps in knowledge with me, to which I had no answer.
I have to change that and improve it
thanks angus !!