Jeff Taylor wrote:
>> Hi
>> I'm compiling CNS 0.5 for the first time on one of our R10K
> SGI machines. I noticed that the -n32 flag is used and I wonder if this
> there because a 64 bit object won't work, or just to maintain
> compatibility with older systems. Has anyone tried building a 64 bit
> executable?
The main advantage of N64 binaries is 64-bit pointers (i.e. arrays
bigger than 2GB). It also lets C program access files > 2GB without
resorting to the "long long" type, but I don't think that is an issue
for CNS. All else being equal, N32 binaries will run just as fast or
faster than N64 binaries.
N32 allows a single binary to run across the entire SGI spectrum. N64
binaries won't run on O2s, Indigos, or Indigo2 R4400s.
--
Benjamin Z. Goldsteen
Crystallography Program
Oklahoma Medical Research Foundation
405 271 8954 / 405 271 7953 (FAX)