- 论坛徽章:
- 0
|
:0 gCC安装了。 当时安装系统时,我测试过了。都可以的,后来机子交给软件部,那帮人,乱搞一通后,就不能正常编译C++ 了。我看了一下,里面有三个版本:
[root@linux8 ~]# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/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-languages=c,c++,objc,java,f77 --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
很奇怪的是 host=x86_64-redhat-linux 但是:/usr/include/c++/3.4.3里面,没有x86_64-redhat-linux 目录,只有 i386的目录,奇怪?请高手指点, 想把多于的版本,全卸了。重新安装gcc
[root@linux8 c++]# cd 3.4.3
[root@linux8 3.4.3]# pwd
/usr/include/c++/3.4.3
[root@linux8 3.4.3]# ls
algorithm cassert ciso646 complex cstddef ctime debug ext iomanip istream locale numeric sstream string vector
backward cctype climits csetjmp cstdio cwchar deque fstream ios iterator map ostream stack typeinfo
bits cerrno clocale csignal cstdlib cwctype exception functional iosfwd limits memory queue stdexcept utility
bitset cfloat cmath cstdarg cstring cxxabi.h exception_defines.h i386-redhat-linux iostream list new set streambuf valarray |
|