I'm trying to compile Prime95, v24.14 using Visual Studio 2005, X64. The 
reason? - well, I'm playing about with a Quad-core Opteron workstation, and 
wanted to see if it might be possible to 'decompose' the Lucas-Lehmer code over 
4 CPU cores. Also, I have an FPGA co-processor device to try out....
 
Anyhow, the build issues I am seeing are:
 
1/ "security.c" is missing from the zipfile. I guess this is to stop people 
producing errant Prime95's that can connect to the Primenet server, 
masquerading as the real program. Does anyone know how to get around this 
problem? (I commented out security.c and the compile now gets further, but I'm 
certain this missing file will bite me in the future)
 
2/ When I "nmake /f Compil64", I get masses of errors compiling the assembler 
files, of the type:
 
 Assembling: xmult1.asm
unravel.mac(10) : error A2008: syntax error : rax
unravel.mac(11) : error A2008: syntax error : rbx
unravel.mac(12) : error A2008: syntax error : rcx
unravel.mac(17) : error A2008: syntax error : rsp
xmult1.asm(37) : error A2070: invalid instruction operands
 _movsd(2): Macro Called From
  xcopy_7_words(4): Macro Called From
   xfft32(52): Macro Called From
    type1(11): Macro Called From
     xfft(1): Macro Called From
      xmult1.asm(37): Main Line Code
 
(I have trimmed this logfile quite a bit, but you get the idea) It looks as 
though the assembler is assembling for the wrong platform somehow?
 
I'd be really grateful if anyone can offer any pointers as to how to get the 
v24.14 code to compile...
 
Thanks, Peter Moreton
 
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to