Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX compile #2

Closed
MichaelMichaelMichaelMichaelMichael opened this issue Feb 14, 2018 · 1 comment
Closed

OSX compile #2

MichaelMichaelMichaelMichaelMichael opened this issue Feb 14, 2018 · 1 comment

Comments

@MichaelMichaelMichaelMichaelMichael

Hi, compiling in OSX (el cap.) doesn't work for me. Any idea?
./configure CFLAGS="-march=native" --with-crypto --with-curl
... (all ok) ...

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in compat
Making all in jansson
make[3]: Nothing to be done for \`all'.
make[3]: Nothing to be done for \`all-am'.
gcc -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include  -Iyes/include -Iyes/include  -march=native -MT asm/cpuminer-scrypt-x64.o -MD -MP -MF asm/.deps/cpuminer-scrypt-x64.Tpo -c -o asm/cpuminer-scrypt-x64.o \`test -f 'asm/scrypt-x64.S' || echo './'\`asm/scrypt-x64.S
<instantiation>:4:7: error: unknown token in expression
 roll , %ebp
      ^
asm/scrypt-x64.S:311:2: note: while in macro instantiation
 salsa8_core_gen_doubleround
 ^
<instantiation>:7:7: error: unknown token in expression
 roll , %ebp
      ^
asm/scrypt-x64.S:311:2: note: while in macro instantiation
 salsa8_core_gen_doubleround
 ^
<instantiation>:10:7: error: unknown token in expression
 roll , %ebp
      ^

.... (many of these lines) ....

@MichaelMichaelMichaelMichaelMichael
Copy link
Author

MichaelMichaelMichaelMichaelMichael commented Feb 14, 2018

I got it solved, here's how:

./nomacro.pl
cd asm; ../nomacro.pl
cd -
vim algo/neoscrypt.c
...... (line 55: change #define ASM 1    to    #define ASM 0) ....
make

have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant