Gcc10 build 과정
gcc 10 빌드 과정 정리
환경
Windows 10 / WSL / Ubuntu / gcc-9.0
순서
- wget을 이용해 gcc-10 스냅샷 다운로드
- 압축 해제
- 빌드
- 필요한 것들 먼저 다운로드. ./contrib/download_prerequisites 실행하면 자동으로 다운로드 해서 압축까지 풀어줌. (이걸 몰랐다니…..)
- gmp 설치 필요.
- cd gmp
- ./configure -> make && make install
- mpfr 설치 필요.
- cd mpfr
- ./configure -> make && make install
- mpc 설치 필요.
- cd mpc
- ./configure -> make && make install
./configure –target=x86_64 –prefix=/home/muzie/gcc10/gcc-10-20200216/build/ –with-gmp –with-mpfr –with-mpc –disable-multilib
댓글남기기