%general-entities; ]> GMP-&gmp-version; 64 Bit GMP Installation of GMP CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-cxx \ --enable-mpbsd Create the 64bit header file: mv /usr/include/gmp{,-64}.h Finally, Create a stub header in the place of the originals: cat > /usr/include/gmp.h << "EOF" /* gmp.h - Stub Header */ #ifndef __STUB__GMP_H__ #define __STUB__GMP_H__ #include <sgidefs.h> #if (_MIPS_SIM == _ABIO32) # include "gmp-32.h" #elif (_MIPS_SIM == _ABIN32) # include "gmp-n32.h" #elif (_MIPS_SIM == _ABI64) # include "gmp-64.h" #endif #endif /* __STUB__GMP_H__ */ EOF