Gcc10 build 과정

최대 1 분 소요

gcc 10 빌드 과정 정리

환경

Windows 10 / WSL / Ubuntu / gcc-9.0

순서

  1. wget을 이용해 gcc-10 스냅샷 다운로드
  2. 압축 해제
  3. 빌드
    1. 필요한 것들 먼저 다운로드. ./contrib/download_prerequisites 실행하면 자동으로 다운로드 해서 압축까지 풀어줌. (이걸 몰랐다니…..)
    2. gmp 설치 필요.
      1. cd gmp
      2. ./configure -> make && make install
    3. mpfr 설치 필요.
      1. cd mpfr
      2. ./configure -> make && make install
    4. mpc 설치 필요.
      1. cd mpc
      2. ./configure -> make && make install

./configure –target=x86_64 –prefix=/home/muzie/gcc10/gcc-10-20200216/build/ –with-gmp –with-mpfr –with-mpc –disable-multilib

태그: , ,

카테고리:

업데이트:

댓글남기기