Mattijs Janssens:
 |I would like to get it working but cannot spend too much time on it. Our 
 |connection to a 64 bit SGI is vnc + adsl which is not good for my blood 
 |pressure.

I'll bet that is trying.  Fine for building though.

 |But I am quite willing to compile and test it a bit. We had our problems 
 |compiling with gcc3.0.4 but can probably use the native compiler (we use 
 |quite a few linked in modules, written in C++, but should be ok since 
 |linkage is done in C).
 |
 |So how do I compile it for native 64 bit sgi mode?

Starting the compile is easy:

   env CXX="/bin/CC -mips4 -64" CC="/bin/cc -mips4 -64" SGI_ABI="-64" \
       LDFLAGS="-Wl,-64" configure

(I go a little overboard here with the ABI flags) but the code assumes in a
lot of places that sizeof(pointer) == sizeof(int), which isn't the case for
the n64 ABI.  Most of these spots can be changed to longs, which are
64-bits with n64.

I'll work with it a little today when I need a break I'll check in my
changes and let you hack on it for a while.

Randy

-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711

Reply via email to