Thanks!
I used the following:
./configure CFLAGS="-DNO_AES_NI -O3 -march=native" --with-curl --with-crypto
and
./configure CFLAGS="-DNO_AES_NI -O3 -march=amdfam10" --with-curl --with-crypto
But it seems that still got an error:
algo/echo/aes_ni/hash.c:387:4: note: in expansion of macro TRANSFORM
TRANSFORM(_state[i][j], _k_opt, t1, t2);
^
make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: Leaving directory `/home/***/cpuminer-opt-3.1.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/***/cpuminer-opt-3.1.7'
make: *** [all] Error 2
With
./configure CFLAGS="-DNO_AES_NI -O3 -march=core2" --with-curl --with-crypto
I got a successful compile on AMD and it mines at 370 khash, which is about 10 khash slower than my scmorse build.
and so far the best is:
./configure CFLAGS="-DNO_AES_NI -O3 -march=k8-sse3" --with-curl --with-crypto
which gets 373-375 khash on that Phenom II.
P.S. Stall searching my Ubuntu image for cross-compile.
If I don't find it I will use MSYS and Win 7 x64...
