现在的位置: 首页 > 综合 > 正文

查看gcc 版本

2014年01月24日 ⁄ 综合 ⁄ 共 941字 ⁄ 字号 评论关闭

 

1, #gcc -v

[root@localhost MPlayer-0.92]# gcc -v
使用内建 specs。
目标:i386-redhat-linux
配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --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.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
线程模型:posix
gcc 版本 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)

2,#rpm -qa|grep gcc

 

[root@localhost tan]# rpm -qa|grep gcc
gcc-gfortran-4.3.2-7.i386
gcc-4.3.2-7.i386
gcc-c++-4.3.2-7.i386
libgcc-4.3.2-7.i386
gcc-java-4.3.2-7.i386

 

3,[root@localhost tan]# gcc -dumpversion
4.3.2
[root@localhost tan]#

抱歉!评论已关闭.