From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
Subject: This is what the instructions told me to do
Reply-To: alhy@unixhub.slac.stanford.edu
Organization: Stanford University, dept of Physics / SLAC
Date: Tue, 29 Sep 1992 22:22:05 GMT

I tried this one late night just after I saw an announcement about
1.3f coming out.  About the same time, our netnews feed bought the
farm, so this took a while to get out, but here it is!  Thanks

We need you to tell us:
  * What your setup is:
       - Hardware platform (eg Sun Sparcstation 1+)
!@#$%^&* RS6k
       - OS version (eg SunOS 4.1.2)
3.1.7
       - Windowing System (eg OpenWin 3, or MIT X11R5, DecWindows, etc)
MIT X11R5
       - Compiler used (eg gcc 1.37, vendor cc, etc)
vendor cc
       - any non-default Imakefile.Config -D flags
nope
       - what version of Xtank that you are trying to run
1.3f
  * If it works.
nope
  * If it doesn't work.
yup
  * If it doesn't work, and you know why it doesn't
didn't compile (see below)
  * If it almost works.
laugh
  * If you like it.
It was cool when I played it on a system it would compile on
  * If you don't like it.
I hate trying to port code to the rs6k
  * If it improves your sex life.
What's a sex life?

Well, here's a list of some of the problems I had compiling on the
RS6000 before I finally threw up my hands.  Has anybody gotten xtank
compiled on an rs6k (with threads)?  I have nowhere near the expertise
to be able to get something like that working.  If nobody knows how to
do this, could the powers that be put into the FAQ something like
"don't even think about getting dynamic loading / threads working on
an RS6k".  

gnat.c refused to compile (bizarre compiler error)
Needed to edit common.h to remove the extern stuff at the end
Had to remove in line 2046 the char *rindex(); line in interface.c
setup.c : Had to change the defines to use rand() instead of random()
: conflicts with stuff in sysdep.h
Hates all the 'hdr' structures in unix.c; I couldn't find anything
even remotely like that in my /usr/include tree.  Had to remove
-DDYNALOAD.
Doesn't like line 1 of rs6klongjmp.s, who knows about the rest.

I've seen this program working, and it's really cool.  Great work
guys.  It's very understandable that this doesn't compile on an rs6k,
since far simpler things don't seem to either.  If it ever works on an
rs6k, I'll be ecstatic (or however you spell it).  BTW, this version
gets much further in the compilation than 1.3d did.  Thanks

				-Scott Berg

-- 
-------------------------------------------------------------------------------
The opinions expressed here are, of course, my own and nobody else's.
-------------------------------------------------------------------------------
J. Scott Berg
email: alhy@unixhub.slac.stanford.edu
real mail: Varian Physics
           Stanford  CA  94305-4060
phone:	(415) 926-4732 (w)
 	(415) 326-2631 (h)
-------------------------------------------------------------------------------





-- 
-------------------------------------------------------------------------------
The opinions expressed here are, of course, my own and nobody else's.
-------------------------------------------------------------------------------
J. Scott Berg
email: alhy@unixhub.slac.stanford.edu
real mail: Varian Physics
           Stanford  CA  94305-4060
phone:	(415) 926-4732 (w)
 	(415) 326-2631 (h)
-------------------------------------------------------------------------------