------- Comment #15 from jb at gcc dot gnu dot org 2005-11-24 13:38 ------- Just to be sure, you should be building outside the gcc directory hierarchy. This is (a cleaned up version of the) script I use for doing a clean build:
#!/bin/sh GCCDIR=trunk cd $GCCDIR contrib/gcc_update cd .. rm -rf objdir mkdir objdir cd objdir ../$GCCDIR/configure --enable-checking --prefix=$HOME/src/gfortran/install --enable-languages=fortran make make install cd gcc make check-fortran cd ../.. # EOF You see that the objdir where all the building is done, is entirely separate from the checked out gcc tree ("trunk" directory). As an added bonus, for a clean build you just blow away objdir, no need to check out gcc again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24991