When I type "make -i -k distclean" not all files are removed. Each missed directory contains the "config.status" file which we would not want to remain (and use to recreate the current configuration) through using "distclean".
# gmake -i -k distclean gmake[1]: Entering directory `/usr/share/src/gcc_build' rm -f stage_current gmake[1]: Leaving directory `/usr/share/src/gcc_build' rm -rf stage1-* rm -rf stage2-* rm -rf stage3-* compare rm -rf stage4-* compare3 rm -rf stageb2g0-* rm -rf stageb3g2-* compare-debug rm -rf stageprofile-* rm -rf stagefeedback-* gmake[1]: Entering directory `/usr/share/src/gcc_build' gmake[1]: Leaving directory `/usr/share/src/gcc_build' rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log rm -f Makefile config.status config.cache mh-frag mt-frag rm -f maybedep.tmp serdep.tmp if [ "i386-pc-solaris2.11" != "." ]; then \ rm -rf i386-pc-solaris2.11; \ else true; fi rm -rf build-i386-pc-solaris2.11 if [ "." != "." ]; then \ rm -rf .; \ else true; fi rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile rm -f texinfo/doc/Makefile texinfo/po/POTFILES rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null gmake: [local-distclean] Error 1 (ignored) rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null gmake: [local-distclean] Error 1 (ignored) rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null gmake: [local-distclean] Error 1 (ignored) # ls -l drwx------ 3 root root 3 2009-01-02 02:04 amd64 drwxr-xr-x 3 root root 19 2009-01-06 00:14 fixincludes drwxr-xr-x 2 root root 4 2009-01-06 00:14 gnattools -rw-r--r-- 1 root root 14 2009-01-08 11:06 stage_final Killing the unwanted files (manually) with: # find . -name config.status -type f -print -exec rm {} \; ./fixincludes/config.status ./amd64/zlib/config.status ./gnattools/config.status Thanks, Rob -- Summary: gcc 4.4.0 20090109 - make -i -k distclean does not remove amd64/ */* fixincludes/* and /gnattools/* Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rob1weld at aol dot com GCC build triplet: i386-pc-solaris2.11 GCC host triplet: i386-pc-solaris2.11 GCC target triplet: i386-pc-solaris2.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38800