Hi,
Normally g++ should be accompanied by its standard library, libstdc++, and building that requires libc.
I've put together draft newlib port for xtensa here:
https://github.com/jcmvbkbc/newlib-xten ... its/xtensaI've also added those patches to the crosstool-NG and enabled newlib and g++ in lx106 configuration,
in the lx106-g++ branch here:
https://github.com/jcmvbkbc/crosstool-N ... 06-g%2B%2BWith these modifications g++ and target libstdc++ can be built, but that's all I currently know about it (:
If you want to give it a try -- please go ahead and let us know of any issues you encounter.
The compiler bootstrapping steps are almost the same as described in
https://github.com/esp8266/esp8266-wiki/wiki/Toolchainthe only difference is that you need to check out another branch: git clone -b lx106-g++
git://github.com/jcmvbkbc/crosstool-NG.git