Chinaunix

标题: sco5.0.6上成功安装gcc-3.4.3 [打印本页]

作者: janlen    时间: 2006-01-21 17:27
标题: sco5.0.6上成功安装gcc-3.4.3
下面是我在 SCO OpenSever 5.0.6 上安装 gcc-3.4.3 的步骤, 贴出来供参考:
  1. Install SCO OpenServer 5.0.6.
  2. Install rs506a: Release Supplement 5.0.6A.
  Download from:
ftp://ftp.sco.com/pub/openserver5/rs506a
.
  3. Install oss646c: Execution Environment Supplement.
  Download from:
ftp://ftp.sco.com/pub/openserver5/oss646c
.
  
  4. Install gwxlibs-1.3.2.Ag: Supplemental Graphics, Web and X11 Libraries supplement.
  Download from:
ftp://ftp.sco.com/pub/openserver5/opensrc/gwxlibs-1.3.2Ag
.
  
  5. Install gnutools-v5.0.7kj: GNU Development Tools supplement.
  Download from:
ftp://ftp.sco.com/pub/openserver5/opensrc/gnutools-5.0.7Kj
.
  
  6. Download gcc-core-3.4.3.tar.gz and uncompress.
  7. $ mkdir src; cd src;  
  8. $ tar xf gcc-core-3.4.3.tar
  
  9. $ cd ../; mkdir obj; cd obj
  10. $ ../src/gcc-3.4.3/configure --prefix=/usr/local/gcc-3.4.3 --with-gnu-as
  11. $ make bootstrap
 
  12. $ su
  13. # make install
  14. # exit
  15.$ ../src/gcc-3.4.3/config.guess
  i686-pc-sco3.2v5.0.6
  16. $ gcc -v
  Reading specs from /var/opt/K/SCO/Unix/5.0.6Ga/usr/local/gcc-3.4.3/bin/../lib/gcc/i686-pc-sco3.2v5.0.6/3.4.3/specs
  Configured with: ../src/gcc-3.4.3/configure --prefix=/usr/local/gcc-3.4.3 --with-gnu-as
  Thread model: single
  gcc version 3.4.3
  17. $ exit


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13151/showart_69657.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2