that seemed to have worked, now it complains about missing gmp.h however
edit: added gmp.h from here
http://cs.nyu.edu/~exact/core/gmp/index.html, now compile fails but im unsure why, windows building is pita
wonderful garbled text from msys
i guess i have done something wrong, might need a guide for dummies, will wait for someone else to build bins
cheers
What CPU? Did you compile native or specify -march=?
This error is in AES code, which suggests your CPU doesn't have it but the compiler thought it did.
Edit: In case it isn't obvious this is significant progress in helping
me. If the compiler can't figure out the correct
architecture it can be specified manually.
the cpu is a i5-3330, it has aes, though im pretty sure the only thing holding me back from compiling successfully is somehow PATH related
steps done:
downloaded the mingw32 installer and installed basics+msys (32bit) to C:\mingw
downloaded mingw64 (x86_64-6.2.0-posix-seh-rt_v5-rev0) to C:\mingw64
added various C:\mingw64 directories to the system PATH
started a msys shell (from c:\mingw\msys...)
compiled curl source with ./configure --host=x86_64-w64-mingw32 --prefix=/c/mingw64
merged pthread mingw64 dir with C:\mingw64 dir
merged OpenSSL-Win64 include dir into mingw64 include
started winbuild.sh, complained about curl.h, so i copied it into the cpuminer dir to not spend hours with the obviously not working PATH
same for openssl and pthread
after this it complained about some double initialization or something of time in sys/time.h, so i copied the mingw64 versions of the files into the cpuminer dir
after this only the gmp.h was missing and then the garbled output from thge screen above appeared
i think some bins/libs used to compile are still 32bit ones as the PATH or at least the PATH the msys shell uses do not use the mingw64 ones but the 32 bit
which steps did differ for your setup?
to my understanding mingw32 is only needed for msys (its not included in mingw64 it seems), is this correct? i would skip the whole mingw32 part if i could and only use mingw64 if this works too, so there is no chance some 32bit bins/libs are getting used
cheers