i didn't give up on the cpu miner work either
just tried an old optimized version for an AMD athlon x4 9950 but it was slower LOL
point being is have always had some skill with compiler flags but i am trying to learn them all now
and when i looked online about them (the link in tutorials everywhere) they mention lots !
and for some reason some work and some don't.. wtf ? lol
i am on my own.. doesn't matter how many times i ask for help i hear crickets lol
all the compiling tutorials say go here to get the compile flags..
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Optionsi already knew a few that worked but i wanted more... so for example i just tried these two,
fails = ./configure --host=x86_64-w64-mingw32 CFLAGS="-march=haswell"
dies on line 3390 in configure on compiling test..
works = ./configure --host=x86_64-w64-mingw32 CFLAGS="-march=athlon64-sse3"
this runs but is slow as hell.. way worse than me just using "-msse2 -O3" (80kh/s vs 240kh/s)
also i noticed the strip command or using the alternative flag -s causes exe's to fail to load on my other PC but not on my main haswell cpu i am building on.
that i suppose to strip the debug info i think..
lastly i used the MingW installer and have the following settings on a fresh install but i used also, mingw-w64-bin_i686-mingw_20111220.zip
here is what gcc -c gets me..
$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto
--enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)
trying to get it sorted out but it's taking time
i used to know enough to compile for various older CPU's with MingW x64 but now i got a haswell and i need much newer flags etc.
always gotta keep learning lol