Xref: utzoo comp.sys.att:9518 unix-pc.general:5403 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!jarthur!nntp-server.caltech.edu!juno.caltech.edu!andy From: andy@juno.caltech.edu (Andy Fyfe) Newsgroups: comp.sys.att,unix-pc.general Subject: tex3b1 -- TeX previewer for the 3b1 Message-ID: <1990May7.231059.342@laguna.ccsf.caltech.edu> Date: 7 May 90 23:10:59 GMT Sender: news@laguna.ccsf.caltech.edu Reply-To: andy@csvax.caltech.edu (Andy Fyfe) Organization: California Institute of Technology Lines: 24 I'm posting my tex3b1 previewer to unix-pc.sources. It will be in six parts. With the help of John Campbell (who originated the manual page) the sources should now compile without much grief on systems other than my own. One day tex3b1 may appear as part of Dirk Grunwald's SeeTeX distribution. I find it to be able to link in -lmalloc since it's quicker than the version provided in libc. To do this requires using a program like John MacMillan's shcc. I shamelessly stole much of shcc and made a front end to /bin/ld that does the double link of shcc. If installed as gcc-ld then -shlib will get access automatically. Or it can be called directly (it can even be installed as /bin/ld, provided you give it the (new) path of the real ld). If one of the args is /lib/shlib.ifile, then ld will do a double link, building its own version of the ifile. If the arg /lib/shlib.ifile doesn't appear, then it just calls ld normally. One other thing it does is to include, with the double link, an extra library that contains those routines, like vprintf, that appear in libc but don't appear in the shared library. So I'll post that as well -- it's quite small. Andy Fyfe andy@csvax.caltech.edu wjafyfe@caltech.bitnet andy@cit-vax.UUCP (...!ames!elroy!cit-vax!andy)