I haven't read through all of this, but I don't see why you would have to re-make maxima from scratch. You have a version that can be installed on windows xp just using the installer. You should be able to invoke that from Tcl, or the reverse. But maybe I'm missing something more subtle.