`
paninxb
  • 浏览: 22955 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

CentOS下安装LAMP

    博客分类:
  • PHP
阅读更多

1、安装gcc

1.1、卸载jdk1.4

[root@localhost panin]# yum -y remove java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

 

1.2、安装gcc 

[root@localhost panin]# yum -y install gcc

 

安装完毕后检查gcc版本:

 

[root@localhost panin]# gcc -v
使用内建 specs。
目标:i386-redhat-linux
配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
线程模型:posix
gcc 版本 4.1.2 20080704 (Red Hat 4.1.2-48)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics