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:
#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.)
Hello,
I'm trying to get YACoin QT Client compiled for OSX. I feel like i'm getting pretty close, but i'm stuck on a bunch of ASM, and i'm not super awesome with ASM.
I think it's all coming from scrypt-x86_64.S
{standard input}:5:Alignment too large: 15. assumed.
{standard input}:14:32-bit absolute addressing is not supported for x86-64
{standard input}:14:cannot do signed 4 byte relocation
{standard input}:15:32-bit absolute addressing is not supported for x86-64
{standard input}:15:cannot do signed 4 byte relocation
{standard input}:89:suffix or operands invalid for `ja'
{standard input}:105:suffix or operands invalid for `jne'
{standard input}:108:Unknown pseudo-op: .type
{standard input}:108:Rest of line ignored. 1st junk character valued 115 (s).
{standard input}:109:Unknown pseudo-op: .size
{standard input}:109:Rest of line ignored. 1st junk character valued 115 (s).
{standard input}:113:Alignment too large: 15. assumed.
{standard input}:207:suffix or operands invalid for `ja'
{standard input}:223:suffix or operands invalid for `jne'
{standard input}:226:Unknown pseudo-op: .type
{standard input}:226:Rest of line ignored. 1st junk character valued 115 (s).
{standard input}:227:Unknown pseudo-op: .size
{standard input}:227:Rest of line ignored. 1st junk character valued 115 (s).
I am building with QT Creator, and using GCC (not CLANG). I unravelled the macros in the ASM with pooler's perl tool.
I assume someone has already figured this out because there is a NovaCoin QT for OSX and it uses the exact same ASM file.
Any help or advise would be appreciated!