[問題] gcc版本更改 4.4.1 => 3.3.3
新手發文 有先爬文過 Orz
小弟想把 fedora 11 的 gcc 和 g++ 版本由原本的 4.4.1 降為 3.3.3
做法是 copy fedora 2 裡 /usr/bin/gcc copy至 fedora 11 的相同位置
再把 fedora 2 裡 /usr/lib/gcc-lib資料夾 copy至 fedora 11一樣位置
( 但有幾個 symbolic link無法copy )
結果:
#gcc -v ( 與fedora 2一樣 )
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --disable-libunwind-exceptions --with-system-zlib
--enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
但 #g++ -v (還是 fedora 11 4.4.1的版本)
Using built-in specs.
Target: i586-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bu..
...中略
--build=i586-redhat-linux
Thread model: posix
gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
想請問大家怎麼也把 g++的版本降為 3.3.3 呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.165.163.14
推
10/28 15:14, , 1F
10/28 15:14, 1F
→
10/28 15:16, , 2F
10/28 15:16, 2F
→
10/28 15:17, , 3F
10/28 15:17, 3F