3 ms·
> Other modern Linux/BSD/UNIX systems should work with minor adjustments to the instructions. I can report that I got it to build and run on slightly out of da
by JdeBP 8y ago
> Other modern Linux/BSD/UNIX systems should work with minor adjustments to the instructions.
I can report that I got it to build and run on slightly out of date FreeBSD by deleting all of the -m32 variants, and deleting all of the -march=haswell variants. I haven't looked into whether this is down to the version of GCC that comes in ports and the version of Clang that comes in base, or something else. No other changes were needed to the build process, though.
JdeBP /package/prog/djbsort % /tmp/djbsort/command/int32-speed
int32 implementation int32/portable4
int32 version -
int32 compiler clang -fPIC -Wall -O2 -fomit-frame-pointer -fwrapv
int32 1 72 72 72
...
int32 1048576 1979077401 1979993070 1983745962