From T3_KR_KNU
(→CC7) |
(→CentOS 7) |
||
Line 3: | Line 3: | ||
=== CentOS 7 === | === CentOS 7 === | ||
+ | |||
+ | ==== gcc 10.1 사용하기 ==== | ||
+ | |||
+ | $ source /cvmfs/sft.cern.ch/lcg/releases/LCG_98/gcc/10.1.0/x86_64-centos7/setup.sh | ||
+ | $ which gcc | ||
+ | /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/bin/gcc | ||
+ | $ gcc --version | ||
+ | gcc (GCC) 10.1.0 | ||
+ | Copyright (C) 2020 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. | ||
==== gcc 8.2 사용하기 ==== | ==== gcc 8.2 사용하기 ==== |
Latest revision as of 06:18, 27 September 2021
Contents
CVMFS에서 원하는 버전의 gcc 사용하기
CentOS 7
gcc 10.1 사용하기
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_98/gcc/10.1.0/x86_64-centos7/setup.sh $ which gcc /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/bin/gcc $ gcc --version gcc (GCC) 10.1.0 Copyright (C) 2020 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.
gcc 8.2 사용하기
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_94/gcc/8.2.0/x86_64-centos7/setup.sh $ which gcc /cvmfs/sft.cern.ch/lcg/releases/gcc/8.2.0-3fa06/x86_64-centos7/bin/gcc $ gcc --version gcc (GCC) 8.2.0 Copyright (C) 2018 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.
SL6
gcc 6.2 사용하기
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_88/gcc/6.2.0/x86_64-slc6/setup.sh $ which gcc /cvmfs/sft.cern.ch/lcg/releases/LCG_88/gcc/6.2.0/x86_64-slc6/bin/gcc $ gcc --version gcc (GCC) 6.2.0 Copyright (C) 2016 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.
gcc 7.2 사용하기
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_92/gcc/7.2.0/x86_64-slc6/setup.sh $ which gcc /cvmfs/sft.cern.ch/lcg/releases/LCG_92/gcc/7.2.0/x86_64-slc6/bin/gcc $ gcc --version gcc (GCC) 7.2.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.
gcc 7.3 사용하기
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_91/gcc/7.3.0/x86_64-slc6/setup.sh $ which gcc /cvmfs/sft.cern.ch/lcg/releases/gcc/7.3.0-90605/x86_64-slc6-gcc62-opt/bin/gcc $ gcc --version gcc (GCC) 7.3.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.