close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 27, 2009, 9:07:08 PM (16 years ago)
- Author:
-
rider
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v29
|
v30
|
|
| 10 | 10 | * 必要時請切換 gcc 版本,可以使用 update-alternatives 或是重新建立 gcc 連結. |
| 11 | 11 | {{{ |
| | 12 | $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.1 1 |
| | 13 | $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 2 |
| 12 | 14 | $ sudo update-alternatives --config gcc |
| | 15 | }}} |
| | 16 | {{{ |
| | 17 | #!sh |
| | 18 | 提供“gcc”的替換項式共有 2。 |
| | 19 | |
| | 20 | 可使用的替換項目 |
| | 21 | ----------------------------------------------------- |
| | 22 | 1 /usr/bin/gcc-4.1 |
| | 23 | *+ 2 /usr/bin/gcc-4.3 |
| | 24 | |
| | 25 | 按下 enter 來指定預設選項[*],或者輸入選擇的號碼:1 |
| | 26 | Using '/usr/bin/gcc-4.1' to provide 'gcc'. |
| 13 | 27 | }}} |
| 14 | 28 | ---- |