a githubbed clone of http://notabs.org/primitivepolynomials/version2/revisionHistory.htm version 2.6
Adapted to common linux environment, microsoftisms removed/patched away.
AVX, popcnt and clmul support is currently disabled. Feel free to fix it back.
note: ppsearch executable wants to have factor2n-1 directory in its current dir.
example usage: ./ppsearch bits=10 search=10 weight=5