is there a script for recursing the compiler?

Do you mean for performing a self-host build, i.e. in which the compiler is
built by (say) gcc, and then is used to build itself? The buildbots do this,
and you can find the logic in the zorg subversion repository at
Also, the dragonegg plugin comes with such a script, see

Ciao, Duncan.