Jeffrey Walton noloader@gmail.com writes:
Here are the options I used to build GMP 6.1.2 and Nettle 3.1.4. It looks fairly easy to duplicate on 64-bit platforms.
BUILD_BITS: 64-bits INSTX_PREFIX: /usr/local INSTX_LIBDIR: /usr/local/lib64
PKGCONFPATH: /usr/local/lib64/pkgconfig CPPFLAGS: -I/usr/local/include -DNDEBUG CFLAGS: -g2 -O2 -march=native -fPIC CXXFLAGS: -g2 -O2 -march=native -fPIC LDFLAGS: -L/usr/local/lib64 -Wl,-R,/usr/local/lib64 -Wl,--enable-new-dtags LDLIBS: -ldl -lpthread
Then, I run configure. There's nothing special about what I am doing. I'm just getting into a Release Build state.
What platform did configure detect? And in particular, which file is the gmp-mparam.h symlink at the top of the gmp build tree pointed to, and what's the definition of POWM_SEC_TABLE there?
Regards, /Niels