The directories are: home/username/Desktop/gcc-build home/username/Desktop/gcc-4.7.0 > What directory was that error in? This is the output before the last error: libtool: link: ranlib .libs/libstdc++convenience.a libtool: link: rm -fr .libs/libstdc++convenience.lax libtool: link: ( cd ".libs" && rm -f "libstdc++convenience.la" && ln -s "../libstdc++convenience.la" "libstdc++convenience.la" ) if test ! -d /home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug; then \ mkdir -p /home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug; \ for d in c++98 c++11; do mkdir -p /home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug/$d; done; \ (cd /home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug; \ sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \ -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \ -e 's/srcdir = \.\./srcdir = ..\/../' \ -e 's/VPATH = \.\./VPATH = ..\/../' \ -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \ -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \ < ../Makefile > Makefile ; \ for d in . c++98 c++11; do \ sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \ -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \ -e 's/srcdir = \.\./srcdir = ..\/../' \ -e 's/VPATH = \.\./VPATH = ..\/../' \ -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \ -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \ < ../$d/Makefile > $d/Makefile ; \ done) ; \ fi; \ echo `date` > stamp-debug; (cd /home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug; \ mv Makefile Makefile.tmp; \ sed -e 's,all-local: all-once,all-local:,' \ -e 's,install-data-local: install-data-once,install-data-local:,' \ -e 's,src/c,src/debug/c,' \ < Makefile.tmp > Makefile ; \ make CXXFLAGS='-gdwarf-4 -g3 -O0' \ toolexeclibdir=/opt/gcc-4.7.0/lib/../lib64/debug all) ; mv: cannot stat `Makefile': No such file or directory /bin/bash: line 2: Makefile.tmp: No such file or directory make[7]: Entering directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug' make[7]: *** No rule to make target `all'. Stop. make[7]: Leaving directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug' make[6]: *** [build-debug] Error 2 make[6]: Leaving directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3' make[2]: *** [all-stagefeedback-target-libstdc++-v3] Error 2 make[2]: Leaving directory `/home/username/Desktop/gcc-build' make[1]: *** [stagefeedback-bubble] Error 2 make[1]: Leaving directory `/home/username/Desktop/gcc-build' make: *** [profiledbootstrap] Error 2