Post
Topic
Board Mining (Altcoins)
Re: An (even more) optimized version of cpuminer
by
Lionel
on 11/11/2013, 14:32:55 UTC
Hi guys i'm building a custom version of cpuminer exclusively for Windows 32bit on 64-bit processors and Windows 64bit.
I'm not using the auto-build tools because it is a custom version with many modifications. (For personal use, i'm not going to distribute it).

I've almost managed to build it successfully with DevCpp,
except for a linker error: it does not find references to the routines scrypto_core, sha256_use4way and the other ones defined in the assembly files scrypt-x64.S, scrypt-x86.S, etc.

I've not modified those .S files, i've already compiled them successfully with as.exe and i have the .o files: scrypt-x86.o and sha2-x86.o
I've told the linker to include the .o files as libraries for the linkage, but to no avail.

Can i fix this issue maybe by copy/pasting asm code into inline assembly inside DevCpp??

Or maybe i need to define the asm macro for scrypt_core etc? I am not good at asm and i don't even know the business logic of those routines Smiley

What do you suggest?
Thanxx you