Post
Topic
Board Announcements (Altcoins)
Re: [ANN][YAC] YACoin ongoing development - Unofficial client fork
by
hanzac
on 21/05/2013, 00:44:32 UTC
Thanks for compiling up an interim Win 64-bit binary.  I was going to start looking into why the scrypt-jane library won't compile cleanly for 32-bit Windows using the mingw32 compiler as reported earlier in the thread but haven't gotten to it yet.

I'm almost ready to push changes to the repository to update the icon and graphics, and have been working on scripting up an NSIS-based installer (similar to InstallShield, but NSIS is open-source) for the Windows client.

Yes, I also met the problem of the assembly code error. I just turned off some macro options for the SSE & AVX, to make it a plain generic scryp-jane impl.

In file scrypt-jane-portable-x86.h, comment out these parts:
Quote
   #if (defined(COMPILER_MSVC6PP_AND_LATER) || (defined(COMPILER_GCC) && (COMPILER_GCC >= 30000)))
      #define X86ASM_SSE
      #define X86ASM_SSE2
   #endif
   #if ((defined(COMPILER_MSVC) && (COMPILER_MSVC >= 1400)) || (defined(COMPILER_GCC) && (COMPILER_GCC >= 40102)))
      #define X86ASM_SSSE3
   #endif
   #if ((defined(COMPILER_GCC) && (COMPILER_GCC >= 40400)))
      #define X86ASM_AVX
   #endif

But if you want to make the client also has optimized mining capability, need to try to configure CPU_X86_FORCE_INTRINSICS. (gcc intrinsics are always well-organized c code.)