On Tue, Feb 21, 2006 at 01:50:47PM -0500, David Edelsohn wrote: > if [ -d ../prev-gcc ]; then \ > cd ../prev-gcc && \ > make install-headers-tar DESTDIR=`pwd`/../gcc/ \ > libsubdir=. ; \ > else \
That's the problem. Paolo, we can't run make targets inside prev-gcc. install-headers-tar has dependencies; one of them must go all the way back to xgcc (not surprising), and moving gcc and prev-gcc around means that xgcc will need to be rebuilt, probably because it is now older than the headers in prev-gcc. I think that either we need a variant of install-headers-tar with no dependencies to do this, or find some other way entirely. -- Daniel Jacobowitz CodeSourcery