Compile some code

2 respuestas [Último envío]
fractal
Desconectado/a
se unió: 09/07/2018

I try to compile this: https://github.com/GOSTSec/cpuminer-gostd.git

And return this error:
https://pad.elbinario.net/p/r.a03222d531cf96aa26869c438e73f6f7

And I complie the crypt that download this: https://liquidtelecom.dl.sourceforge.net/project/libcrypt/libcrypt/0.03/crypt_0_03.zip

And return this errors:
gcc -O2 -Wall -c -I./ -mpentium -fomit-frame-pointer -funroll-loops -c -o base64.o base64.c
gcc: error: unrecognized command line option ‘-mpentium’
: fallo en las instrucciones para el objetivo 'base64.o'
make: *** [base64.o] Error 1

My question it's what it's -mpentium
Thanks at all.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I believe it does the same as -march=pentium. In other terms, it asks GCC to generate instructions for the Intel Pentium CPU with no MMX support. -mpentium may be a deprecated syntax. However it is kind of worrying if, to correctly run, the program needs such an option, to specifically ask for not using more modern instructions and preventing it to work on CPU that are not Pentium derivatives ...

fractal
Desconectado/a
se unió: 09/07/2018

Tanks i try it