[comp.unix.aux] NoteAre you using Apple's supplied Xt library for X Windows?

name@portia.Stanford.EDU (tony cooper) (09/15/89)

To date MIT has come out with 10 official fixes to the X Windows source. I
suspect that Apple released their Xt library before fixes 8 and 9 were
available (at least in the version I received).

Anyway, some programs eg xf don't work properly with the Apple supplied
Xt library. It is a simple procedure to compile your own copy of the Xt
library. Just get the source and the fixes from your favorite archive site
and compile them. It only takes a few minutes. In fact, all the X libraries
compile cleanly so it's easy to do them all (you can use your favorite C
compiler and if Apple used cc and if your compiler is faster than cc (eg
the GNU compiler or Green Hills) then you can get faster versions of the
libraries.

One note: For some reason Apple has included the function random in their
release of the X11 library. I think the UNIX convention is that random is
a 32 bit generator, while rand is 16 bit. The Apple supplied random is only
16 bits so watch out.

If anyone wants an updated Xt library or a 32 bit random() I am happy to
give away copies. Want a ready-to-run GNU C compiler? Available by
anonymous ftp from apple.apple.com. Want a GNU C compiler ready-to-run
with the three patches that Apple provide (but have not applied to their
binary copy)? I have a copy you can have. Want a Green Hills C compiler?
Shop around. You can do better than the list price of $495. Mine cost $325.

Cheers,
Tony Cooper

name@portia.stanford.edu
tony@popserver.stanford.edu

Disclaimer: Half of the above is incorrect, the rest is false.