GCC compiler 설치
#Prerequisite
1. m4
$ yum install m4
(m4가 없다고 나올 경우에만, gnu macro processor)
2. glibc-devel
$ yum install glibc-devel.i686 libgcc.i686
(32-bit devlopment libraries ~ 라고 나오는 경우, standard c libraries/support libraries)
3. gmp library
- gmplib.org 에서 파일 다운로드
- 압축 해제
- cd 디렉터리
- ./configure --prefix=[설치 경로]
- make && make check && make install
4. mpfr library
- 소스코드 다운로드, 압축해제, cd로 이동
- ./configure --prefix=[설치 경로] --with-gmp=[gmp 설치 경로]
- make
- make install
5. mpc library
- 소스코드 다운로드, 압축해제, cd로 이동
- ./configure --prefix=[설치 경로] --with-gmp=[gmp 설치 경로] --with mpfr=[mpfr 설치 경로]
- make
- make install
#GCC 설치
- 소스코드 다운로드, 압축해제, cd로 이동
- ./configure --prefix=[설치 경로] --with-gmp=[gmp 설치 경로] --with mpfr=[mpfr 설치 경로] --with-mpc=[mpc 설치 경로]
- make (빠르게 설치하고 싶으면 make -j 2~4)
- make install
'Linux > Installation' 카테고리의 다른 글
[INSTALL] SIESTA 3.2 (0) | 2024.07.27 |
---|---|
[INSTALL] SHARC (0) | 2024.07.22 |
[INSTALL] QE (Quantum Espresso) 7.2 (CPU) (0) | 2024.07.07 |
[INSTALL] QE (Quantum Espresso) 7.2 (GPU) (0) | 2024.07.07 |
WRF 4.2 Version 설치 (0) | 2020.07.12 |
댓글
이 글 공유하기
다른 글
-
[INSTALL] SHARC
[INSTALL] SHARC
2024.07.22 -
[INSTALL] QE (Quantum Espresso) 7.2 (CPU)
[INSTALL] QE (Quantum Espresso) 7.2 (CPU)
2024.07.07 -
[INSTALL] QE (Quantum Espresso) 7.2 (GPU)
[INSTALL] QE (Quantum Espresso) 7.2 (GPU)
2024.07.07 -
WRF 4.2 Version 설치
WRF 4.2 Version 설치
2020.07.12