2024-01-04

gcc 10.3.0 설치

wget https://ftp.gnu.org/gnu/gcc/gcc-10.3.0/gcc-10.3.0.tar.gz

tar -zxvf gcc-10.3.0.tar.gz

sudo apt-get install build-essential
sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev

mkdir build-gcc
cd build-gcc

../gcc-10.3.0/configure --enable-languages=c,c++ --disable-multilib

make -j$(nproc)

sudo make install

gcc --version

댓글 없음:

댓글 쓰기

도커 내부의 hosts에 주소 추가하기

echo "192.168.10.19 happycpu-P620.local" | sudo tee -a /etc/hosts