mamalala wrote:Any quick hints about how to compile it?
I have a set of scripts for fast toolchain building for xtensa here: https://github.com/jcmvbkbc/xtensa-toolchain-build
It needs separate binutils, gcc and gdb directories, named according to versions in the config file, or tar.bz2 archives thereof (which will be unpacked and patched by prepare.sh).
Then you run ./prepare.sh lx106 to apply lx106 overlay and ./build-elf.sh lx106 to build the toolchain. No su/sudo, just as ordinary user.
The build goes under ./build-lx106 and the resulting toolchain binaries will be in the ./build-lx106/root/bin.
You'll need to invoke them by full path name or add the directory to your PATH or add symlinks to them to your ~/bin, whatever.