0. |
Untar the sources using the command:
|
---|---|
1. | Edit the Makefile as necessary for your environment: |
1a.
Change the TRAP_PATH to be appropriate for your system. Examples:For a personal Unix workstation: |
|
1b.
Make TOPDIR the installation prefix for X11. Examples:For your personal Unix workstation: |
|
2. | Set your path to select the correct gcc and make programs. |
3. | Type "make".
|
4. |
There is no "make install" target; you have to install it yourself.
Put "spim" and "xspim" in /usr/local/bin or wherever is appropriate,
and put "trap.handler" where you said you would (in TRAP_PATH). On
Windows, you will want to put it all in C:\Program Files\spim.
|
5. | Here are code changes for compiling on FreeBSD.
This was submitted by a user:
filename="spimsal.freebsd.diff" --- spimsal.orig/spim-utils.c Mon Apr 23 16:23:13 2001 +++ spimsal/spim-utils.c Fri Oct 1 15:31:37 2004 @@ -260,7 +260,15 @@ #ifndef NOMEMIO #include "sys/ioctl.h" #ifdef TERMIO +# ifdef __FreeBSD__ +/* BSD */ +#include |