[quote=“zazzbg, post:621, topic:358”]Thank you for the suggestion.
I was following this tutorial so far for mingw32: http://www.peercointalk.org/index.php?topic=1547.0
About Mingw-w64 - I am having some headaches with GMP install on it.
./configure --prefix=/c/deps/gmp/ --enable-cxx --with-gnu-ld
option I get an error while configuring for missing DLL file (libstdc++-6.dll).
If I remove it - on making file from the MSYS console with command:
make -f makefile.mingw64
I get an error of missing gmpxx.h file.
I start to realize that this Windows compiling is not for me.
I will appreciate if you point me to some FAQ or docs about cross-compiling miners… Doesn’t matter if it is on Linux or Windows.[/quote]
you’ll need “–enable-cxx”, as the mining coded uses the C++ bindings of libgmp
regarding *.dll: have you tried to compile it statically?
configure --enable-static=no --enable-cxx
otherwise you’ll need to copy the missing *.dlls from the msys/mingw paths to your project’s path.
and, as someone else already mentioned:
the crashs can be caused by optimized code
every library and the resulting miner is optimized for the native machine you’re building on, unless you tell gcc to do something else
this means: it will try to optimize the code to use SSE/AVX if build on a SSE/AVX machine, which can cause troubles on older machines without SSE/AVX
what are the exact hardware cpu-specs for your test machines and your building machine??
are you sure the miner is starting 3 threads?? do you see the “Hello, World!” / “GoGoGo!” lines in your log of the miner 3 times?
what’s the exact command line you’re using to launch the miner?
ps. my starting point was for windows binaries (I’m not cross-compiling it) was cygwin + its mingw64 builds if i remember correctly (and when i look at the messy mingw64 environment)
pps. i’ll try to re-create the whole process of setting up mingw64 + libs for win64 … oh god why … this will be so painful … when i have time for this