Xgraph Miscellany

First off, I love xgraph.

Second, I've got some patches to xgraph that:

The first set of fixes came about while trying to track down the problems addressed by the last set. I found the zero divide bug when I checked that all the example/*.xg files still worked.

The patches get xgraph working on an Alpha running OpenBSD-3.0. I've also tested them on an Indy running Irix-6.2 using the SGI compiler, so I don't think they break anything for 32-bit, non-gcc compiles, either. They work on an UltraSparc running Solaris-2.8 using gcc-2.95.3, too (though that's not 64-bit code).

Download the diff. It's a unidiff against Xgraph from the NS project. Apply it in the usual way:

	cd [xgraph source dir]
	patch -p1 < [wherever you downloaded the patch]/patch-64b.txt
Here, patch should probably be GNU's patch. On Solaris, eg, you'd need to run gpatch.

Some of the Makefile changes have to do with using a different version of the GNU auto* utils than what the "standard" NS distribution used.


Back to Blasted Heath Consulting LLC
Trivially Updated: 18 Nov 2002 by Chris Jepeway