반응형
# wget http://ftp.gnu.org/pub/gnu/gmp/gmp-5.0.1.tar.gz & \
wget http://mpfr.loria.fr/mpfr-current/mpfr-3.0.0.tar.gz & \
wget http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz
tar xvf gmp-5.0.1.tar.gz
tar xvf mpfr-3.0.0.tar.gz
tar xvf mpc-0.8.2.tar.gz
cd gmp-5.0.1
./configure --enable-cxx
sudo make install
cd ..
cd mpfr-3.0.0
./configure
sudo make install
cd ..
cd mpc-0.8.2
./configure
sudo make install
cd ..
라이브러리를 못찾을때가 있는데 ( configure후 make후 make check로 검사가능)
그럴땐
# sudo ldconfig
반응형
'Linux' 카테고리의 다른 글
arm-linux-gcc toolchain 컴파일 및 설치 (1) | 2011.09.20 |
---|---|
find 고찰 및 활용 (0) | 2011.09.19 |
리눅스 fg(fore ground), bg(back ground) (0) | 2011.09.19 |
[펌]vi로 error/warning 추적하기 (0) | 2011.01.13 |
댓글