From T3_KR_KNU
(→CVMFS에서 gcc 사용하기) |
(→CentOS 7) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == CVMFS에서 gcc 사용하기 == | + | == CVMFS에서 원하는 버전의 gcc 사용하기 == |
− | === 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 | $ source /cvmfs/sft.cern.ch/lcg/releases/LCG_94/gcc/8.2.0/x86_64-centos7/setup.sh | ||
Line 13: | Line 26: | ||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
+ | === SL6 === | ||
− | === gcc 6.2 | + | ==== gcc 6.2 사용하기 ==== |
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_88/gcc/6.2.0/x86_64-slc6/setup.sh | $ source /cvmfs/sft.cern.ch/lcg/releases/LCG_88/gcc/6.2.0/x86_64-slc6/setup.sh | ||
Line 25: | Line 39: | ||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
− | === gcc 7.2 | + | ==== gcc 7.2 사용하기 ==== |
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_92/gcc/7.2.0/x86_64-slc6/setup.sh | $ source /cvmfs/sft.cern.ch/lcg/releases/LCG_92/gcc/7.2.0/x86_64-slc6/setup.sh | ||
Line 36: | Line 50: | ||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
− | === gcc 7.3 | + | ==== gcc 7.3 사용하기 ==== |
$ source /cvmfs/sft.cern.ch/lcg/releases/LCG_91/gcc/7.3.0/x86_64-slc6/setup.sh | $ source /cvmfs/sft.cern.ch/lcg/releases/LCG_91/gcc/7.3.0/x86_64-slc6/setup.sh |
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.