How do I port Tcl and Tk to a Sequent?
From Andrew Swan (aswan@soda.berkeley.edu) we find: For both Tcl and Tk, I used gcc rather than the Sequent cc which is not ansi. For Tcl, there were a couple of problems with the math library. First, the Sequent math library doesn’t include the ‘fmod’ function. I got the source for fmod from ftp.uu.net, put it in the compat subdirectory, and added it to the Makefile. fmod also wanted functions ‘isnan’ and ‘finite’ but I just commented those out since I don’t believe tcl supports infinity and nan. The other problem with the math library was that it has two copies of the ‘tanh’ function in it. This is easy to fix by using “ar” to separate the library in to object files and then reconstruct it, leaving one of the copies of tanh out. With those changes, Tcl compiled cleanly and passed all the tests except the scanning tests. Apparently, the *scanf functions are broken in Dynix. The problem is with recognizing the end of octal numbers, and I just let this problem go. Fixing it would probab