Ghostscript is made up of two parts, the executable itself, gs.Z, and the library files lib.tar.Z (which go in /usr/local/lib/ghostscript). The library files include a good deal of postscript initialization code, and you should make sure that you have matching parts. As of version 2.5.2, gs will verify this when it starts (or so I'm told, anyway). Fonts, which are in fonts.tar.Z, go in /usr/local/lib/ghostscript/fonts. Uncompressed, this tar file gives about 3M of fonts; however, you don't have to keep a font if you don't actually use it. If a font can't be found, gs will substitute the font "Ugly". When using the 3b1 display, you might find the -dNOPAUSE option useful. $ function gs3b1 { gs -dNOPAUSE "$@" quit.ps; } To build gs yourself, make sure that you use the flags -DUSG -D__SVR3 and that the variable PLATFORM is set to sysv_. You should use gcc, since there's a optimization using an "asm" instruction. The code is ANSI, but I believe there are provisions for converting it for use with non-ANSI compilers. There is a version of gdev3b1.c included with the gs 2.5.2 distribution; the version in this directory is somewhat newer and includes a help screen. You can get a head start on the compilation by getting the .o files in gs-obj.tar.Z. Then, say, changing the included devices won't take so long. The unlinked .o files are in gs-obj.tar.Z. Note that the files gdev3b1.c and gs-obj.tar.Z will correspond. The binary gs.Z was made by linking the .o files in gs-obj.tar.Z. However, it's possible that I'll put the .o files into the archive some time before I actually link and update the gs binary itself. Gs was cross-compiled with gcc version 2.2.2. If you're running gcc 2.x on your 3b1, you can link gs with gnutar Zxvf gs-obj.tar.Z gcc -s -shlib -o gs *.o -lm If not, you can still link gs, but you need to have the extra library libgcc.a used by gcc 2.x. To do this, get libgcc?.tar.Z from the directory pub/3b1/gcc2-objects/. Then gnutar Zxvf libgcc1.tar.Z # contains .c files to be compiled cc -O -c *.c # with the native cc gnutar Zxvf libgcc2.tar.Z # contains cross-compiled .o files ar cr libgcc.a *.o rm *.[oc] gnutar Zxvf gs-obj.tar.Z cc -s -o gs *.o libgcc.a -lm You can use the Utopia and Charter fonts with groff. The necessary groff font description files are in devps.tar.Z. The standard fonts provided with ghostscript are not of the same quality. Once the files in devps.tar.Z are installed, you can substitute the Utopia or Charter font family by changing the family in the devps/DESC file to U or CH, or by using -fU or -fCH when running groff.