티스토리 뷰

OS/Solaris

솔라리스 - GCC 설치

solarwind 2010.12.16 11:12

1. libiconv 설치

#gzip -d libiconv-1.13.1-sol10-x86-local.gz

#pkgadd -d libiconv-1.13.1-sol10-x86-local


2. GCC 설치

#gzip -d gcc-3.4.6-sol10-x86-local.gz

#pkgadd -d gcc-3.4.6-sol10-x86-local

#vi /etc/profile 에 아래내용 추가

PATH=$PATH:/usr/local/bin:/usr/openwin/bin
export PATH
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
export LD_LIBRARY_PATH


3. make 설치

#gzip -d make-3.81-sol10-x86-local.gz

#pkgadd -d make-3.81-sol10-x86-local


4. binutils 설치

#gzip -d binutils-2.20.1-sol10-x86-local.gz

#pkgadd -d binutils-2.20.1-sol10-x86-local


5. libgcc 설치

#gzip -d libgcc-3.4.6-sol10-x86-local.gz

#pkgadd -d libgcc-3.4.6-sol10-x86-local


6. 재로그인



// ooLib 컴파일 시

libintl-3.4.0-sol10-x86-local.gz 추가

 
댓글
댓글쓰기 폼