I started two tickets but I'm not sure that was the right place, so just in case I'm sending this one as well (I guess this might have come twice then for those in the commit list)
In section 10.14 and 10.15 to compile ppl against GMP one needs to add
the right building flags and the right library places. For 32-bit need
to add
CPPFLAGS=-fexceptions CXX="g++ -isystem /usr/include ${BUILD32}"
and for 64-bit also we need to change the lib paths to /usr/lib64. The
whole command should read
CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD64}" \
CXX="g++ -isystem /usr/include ${BUILD64}" \
LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" ./configure --prefix=/usr \
--libdir=/usr/lib64 --enable-shared \
--with-libgmp-prefix=/usr/lib64 --with-libgmpxx-prefix=/usr/lib64
regards,
R.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
