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 124건 4 페이지
  • RSS
기술자료 목록
64
Linux   10987  2010-12-07 22:10  
63
Linux   18193  2010-07-09 10:22 ~ 2017-08-02 00:00  
62
Linux   34450  2010-06-21 20:29 ~ 2017-04-11 00:00  
61
Linux   11979  2010-06-19 09:55  
60
Linux   20059  2010-03-08 20:43  
59
Linux   16907  2010-01-31 10:17  
58
Linux   15161  2010-01-15 11:55  
57
Linux   12442  2009-11-19 11:46  
56
Linux   15072  2009-11-03 18:43 ~ 2009-11-03 00:00  
55
Linux   25008  2009-11-03 06:21 ~ 2017-08-25 00:00  
54
Linux   14317  2009-10-31 12:27 ~ 2009-10-31 00:00  
53
Linux   34061  2009-08-22 15:11  
52
Linux   25822  2009-08-20 23:02 ~ 2010-10-20 00:00  
51
Linux   16284  2009-08-20 14:58  
50
Linux   17220  2009-08-19 22:30 ~ 2010-10-20 00:00  
49
Linux   19043  2009-08-19 21:42  
48
Linux   28108  2009-08-19 08:59  
열람
Linux   17034  2009-08-19 08:02 ~ 2017-03-21 00:00  
46
Linux   15678  2009-08-18 18:05  
45
Linux   55259  2009-08-18 08:46  

검색

해피정닷컴 정보

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

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