After I finished ../gcc/configure --prefix=$HOME/GCC-4.6.2 --enable-languages=c,c++,fortran --disable-multilib , I executed "make -j 2" . However , error occurred !
.......(,omit unnecessary info) checking whether gcc -std=gnu99 supports -pedantic -Wlong-long... yes checking whether gcc -std=gnu99 supports -fno-exceptions... yes yes checking for vasprintf... checking whether gcc -std=gnu99 supports -fno-rtti... yes yes configure: error: C++ compiler missing or inoperational checking for vfprintf... make[2]: *** [configure-build-libcpp] 错误 1 make[2]: *** 正在等待未完成的任务.... yes ......(omit unnecessary info) checking for working mmap... yes checking for working strncmp... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands make[2]: 离开目录“/home/gwen/github_repo/objdir” make[1]: *** [stage1-bubble] error2 make[1]: 离开目录“/home/gwen/github_repo/objdir” make: *** [all] error 2