https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867
--- Comment #2 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #1) > How did you run configure? ../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose --enable-libstdc++ --disable-ssp --enable-languages=c,c++ --prefix=$PREFIX --target=avr --disable-shared --with-newlib But I guess since avr libc does not provide a full locale stub, libstdc++ cannot be built. no with-newlib: checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. ../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose --enable-libstdc++ --disable-ssp --enable-languages=c,c++ --prefix=$PREFIX --target=avr --disable-shared