When running ./configure
for the gmp library, add the argument --prefix=/usr
replace older version of libgmp with a just compiled new one
题
i just compiled new version 5.1 of http://gmplib.org/
. the libraries seems to be in /usr/local/lib
how can i replace the old libraries of gmp, which are in /usr/lib
? or can i simply put in some parameter when compiling a program with g++
?
解决方案
不隶属于 StackOverflow