A while back Peter and I were discussing auto instantiation (if a user wants to use a templated class on an unexpected type - ie. one without an instantiation file). It seems like there is a g++ flag that can be turned on to do exactly that.
"That should be possible using the option "-frepo" "
Just FYI in case anyone else runs into this.