gcc 설치하기 > 기술자료 | 해피정닷컴

gcc 설치하기 > 기술자료

본문 바로가기

사이트 내 전체검색

gcc 설치하기 > 기술자료

Linux gcc 설치하기

페이지 정보


본문

[root@]# gcc -v
bash: gcc: command not found (준비가 안 되었군요!)

[root@]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-10) (준비가 되었군요!)


1. yum 으로 설치하기
[root@]# yum install gcc
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.riken.jp
 * extras: ftp.iij.ad.jp
 * ius: ftp.neowiz.com
 * remi-safe: mirror.smartmedia.net.id
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-17.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-17.el6 for package: gcc-4.4.7-17.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-17.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-17.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-17.el6.x86_64
--> Running transaction check
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch            Version                 Repository     Size
================================================================================
Installing:
 gcc                x86_64          4.4.7-17.el6            base           10 M
Installing for dependencies:
 cloog-ppl          x86_64          0.15.7-1.2.el6          base           93 k
 cpp                x86_64          4.4.7-17.el6            base          3.7 M
 mpfr               x86_64          2.4.1-6.el6             base          157 k
 ppl                x86_64          0.10.2-11.el6           base          1.3 M

Transaction Summary
================================================================================
Install       5 Package(s)

Total download size: 15 M
Installed size: 33 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm               |  93 kB     00:00     
(2/5): cpp-4.4.7-17.el6.x86_64.rpm                       | 3.7 MB     00:00     
(3/5): gcc-4.4.7-17.el6.x86_64.rpm                       |  10 MB     00:00     
(4/5): mpfr-2.4.1-6.el6.x86_64.rpm                       | 157 kB     00:00     
(5/5): ppl-0.10.2-11.el6.x86_64.rpm                      | 1.3 MB     00:00     
--------------------------------------------------------------------------------
Total                                            37 MB/s |  15 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mpfr-2.4.1-6.el6.x86_64                                      1/5 
  Installing : cpp-4.4.7-17.el6.x86_64                                      2/5 
  Installing : ppl-0.10.2-11.el6.x86_64                                     3/5 
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                              4/5 
  Installing : gcc-4.4.7-17.el6.x86_64                                      5/5 
  Verifying  : ppl-0.10.2-11.el6.x86_64                                     1/5 
  Verifying  : gcc-4.4.7-17.el6.x86_64                                      2/5 
  Verifying  : cpp-4.4.7-17.el6.x86_64                                      3/5 
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                              4/5 
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                      5/5 

Installed:
  gcc.x86_64 0:4.4.7-17.el6                                                     

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6          cpp.x86_64 0:4.4.7-17.el6          
  mpfr.x86_64 0:2.4.1-6.el6                  ppl.x86_64 0:0.10.2-11.el6         

Complete!


2. GCC패키지 설치하기


3. GCC바이너리 설치하기


참고자료
http://paulownia.egloos.com/3510627 

댓글목록

등록된 댓글이 없습니다.


Total 2,641건 94 페이지
  • RSS
기술자료 목록
781
PHP   15308  2009-08-25 20:50  
780
일반   12106  2009-08-25 22:04  
779
PHP   24970  2009-08-25 20:46 ~ 2020-04-08 11:35  
778
Linux   34065  2009-08-22 15:11  
777
MySQL   17472  2009-08-21 08:04  
776
PHP   45571  2009-08-21 01:29 ~ 2017-08-03 00:00  
775
Linux   25830  2009-08-20 23:02 ~ 2010-10-20 00:00  
774
Linux   16290  2009-08-20 14:58  
773
Adobe   51727  2009-08-20 14:16  
772
Linux   17221  2009-08-19 22:30 ~ 2010-10-20 00:00  
771
Linux   19044  2009-08-19 21:42  
770
MySQL   19643  2009-08-19 13:23  
769
Linux   28109  2009-08-19 08:59  
열람
Linux   17045  2009-08-19 08:02 ~ 2017-03-21 00:00  
767
MySQL   21370  2009-08-18 20:46  
766
Linux   15686  2009-08-18 18:05  
765
Linux   55261  2009-08-18 08:46  
764
ClassicASP   23205  2009-08-14 18:18  
763
일반   16758  2009-08-14 16:40 ~ 2021-10-20 14:32  
762
ClassicASP   18143  2009-08-14 17:47  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2024 해피정닷컴. All Rights Reserved.