Hello. I try to build a plug-in written in C++ inside GCC tree, but the build is interrupted with an error: 'libtool: error: unrecognised option: '-DHAVE_CONFIG_H''. The launch string begins with '/bin/sh ../libtool --tag=CXX --mode=compile -DHAVE_CONFIG_H -I.'. Apparently libtool doesn't add compiler name to line (xg++). The libtool file has a line with language specific compiler for CXX has xgcc, instead of xg++: 'CC="/home/abuild/rpmbuild/BUILD/gcc-6.2.1/obj/./gcc/xgcc -shared-libgcc -B/home/abuild/rpmbuild/BUILD/gcc-6.2.1/obj/./gcc -nostdinc++ -L/home/abuild/rpmbuild/BUILD/gcc-6.2.1/obj/x86_64-tizen-linux-gnu/libstdc++-v3/src -L/home/abuild/rpmbuild/BUILD/gcc-6.2.1/obj/x86_64-tizen-linux-gnu/libstdc++-v3/src/.libs -L/home/abuild/rpmbuild/BUILD/gcc-6.2.1/obj/x86_64-tizen-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-tizen-linux-gnu/bin/ -B/usr/x86_64-tizen-linux-gnu/lib/ -isystem /usr/x86_64-tizen-linux-gnu/include -isystem /usr/x86_64-tizen-linux-gnu/sys-include "' The configure.ac has AC_PROG_CXX, and building the plugin separately is successful. Can anybody tell what am I missing? -- Best regards, Oleg Ogurtsov.