Closed Cthulu201 closed 6 years ago
As I said in a comment to acc9abc, that commit broke 32-bit targets. If you use the Makefile from prior to that, it should work fine.
Not sure why you closed this - I think @jsteube should fix it. All 32-bit targets still need GMP.
Because the comment you linked already addressed it, so it seemed redundant.
Yes but it will be forgotten (again). As will this issue, if it's closed. Please reopen!
Per magnumripper request reopened.
Is this fixed yet? cant compile on 32bit
I have no idea why @jsteube didn't fix it, but you should be able to work around it just by checking out Makeifle from the commit right before acc9abc2 (so acc9abc2^
).
Thanks @magnumripper !
Getting this error:
gcc -W -Wall -std=c99 -O2 -s -m64 -DLINUX -o pp64.bin pp.c mpz_int128.h In file included from /usr/include/stdio.h:28:0, from pp.c:5: /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory compilation terminated. In file included from /usr/include/stdint.h:26:0, from /usr/lib/gcc/i486-linux-gnu/4.7/include/stdint.h:3, from mpz_int128.h:22: /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory compilation terminated. make: *\ [pp64.bin] Error 1
@Kthulhu201 was you able to fix it?
Hey, I did not expect people still use 32 bit architectures. @magnumripper what do you think is the best way to fix this?
I've been meaning to write code that does 128-bit integers on 32-bit gear but it's very low priority. So I'd say just revert the 32-bit target to the version that requires GMP!
I was trying to test it in a old machine i have that only support 32bit.
I don't use a multilib compiler on my 64-bit Intel and ARMv8 boxes, so the -m64 CFLAG isn't necessary.
FWIW, CPU-only workloads can distribute nicely on Raspberry Pis and similar (and until recently, Raspbian and friends were still 32-bit, so probably still a lot of installs out there)
Is this 64-bit only? Trying to compile on 32-bit Intel and ARM systems and get unknown type name errors:
Thanks