리눅스/Ubuntu 18.04.5 LTS
Ubuntu 18.04 gcc 4.8설치
여린완자
2021. 4. 6. 21:29
#Ubuntu 18.04 gcc설치
1. gcc basic 설치
>sudo apt update
>sudo apt install build-essential
>gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. gcc 4.8설치(낮은버젼으로 설치해야 기존의 프로그램이 compile & link 해야하는경우)
>apt-get install gcc-4.8
>apt-get install g++-4.8