gcc-xtensa icon indicating copy to clipboard operation
gcc-xtensa copied to clipboard

Recent versions of GCC

Open FatihBAKIR opened this issue 6 years ago • 1 comments

Hello,

I've been spending the last several hours, trying to get the "xtensa-ctng-7.2.0" branch to work. I've been able to build the toolchain, however the only binaries I could get was big endian no matter how I compiled. I'm starting to think that branch isn't really ready to be used.

Is there a way to get a recent version of GCC (>=6) working with little endian lx106 binaries? Specifically for ESP8266 mcus.

I'm not using ct-ng and manually compiling everything. I may be using some incorrect versions of other stuff.

FatihBAKIR avatar Apr 26 '18 07:04 FatihBAKIR

trying to get the "xtensa-ctng-7.2.0" branch to work

Why do you think it's the branch that you need?

Is there a way to get a recent version of GCC (>=6) working with little endian lx106 binaries? Specifically for ESP8266 mcus.

Yes. Use the mainline ct-ng and custom newlib. Or, if you prefer doing everything yourself, use the mainline gcc and the same newlib.

I'm not using ct-ng and manually compiling everything.

Then you need to know what the xtensa configuration overlay is and how to apply it.

jcmvbkbc avatar Apr 26 '18 16:04 jcmvbkbc