archlinux該如裝低版本的gcc? - Linux
By Emily
at 2013-04-11T23:33
at 2013-04-11T23:33
Table of Contents
之前把gcc版本升級到4.8
最近需要用到cuda toolkit 4.0,發現他只支援到gcc 4.5
我試著用aur裡面現有的所有gcc (gcc44, gcc45, gcc46)
但全部安裝失敗,似乎是因為其他package也被我升級了
我downgrade 其中一個package: texinfo 解除一部分的錯誤
剩下的錯誤還有:
gcc46/src/gcc-4.6.3/libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared
(first use in this function)
#define FIBHEAPKEY_MIN LONG_MIN
目前試過的方法:
1. AUR (之前有進去他source code修,但亂修掉一些bug後,最後碰到的bug似乎是
弄壞現有的glibc,重裝glibc <---> BUG一直loop)
2. downgrade (gcc4.8 & gcc-libs 4.8 互相關聯 目前弄不掉)
3. 重新裝一套arch (但依然只能裝4.8 也無法從source code 新build一套gcc)
4. 似乎可以找個pre-compile binary (剛剛去openpkg找 但安裝也有bug 就棄置了)
是否有辦法可以解決這問題?
謝謝幫忙
--
最近需要用到cuda toolkit 4.0,發現他只支援到gcc 4.5
我試著用aur裡面現有的所有gcc (gcc44, gcc45, gcc46)
但全部安裝失敗,似乎是因為其他package也被我升級了
我downgrade 其中一個package: texinfo 解除一部分的錯誤
剩下的錯誤還有:
gcc46/src/gcc-4.6.3/libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared
(first use in this function)
#define FIBHEAPKEY_MIN LONG_MIN
目前試過的方法:
1. AUR (之前有進去他source code修,但亂修掉一些bug後,最後碰到的bug似乎是
弄壞現有的glibc,重裝glibc <---> BUG一直loop)
2. downgrade (gcc4.8 & gcc-libs 4.8 互相關聯 目前弄不掉)
3. 重新裝一套arch (但依然只能裝4.8 也無法從source code 新build一套gcc)
4. 似乎可以找個pre-compile binary (剛剛去openpkg找 但安裝也有bug 就棄置了)
是否有辦法可以解決這問題?
謝謝幫忙
--
Tags:
Linux
All Comments
By Caitlin
at 2013-04-12T21:50
at 2013-04-12T21:50
By Todd Johnson
at 2013-04-14T14:41
at 2013-04-14T14:41
By Valerie
at 2013-04-16T00:58
at 2013-04-16T00:58
By Todd Johnson
at 2013-04-16T02:44
at 2013-04-16T02:44
By Candice
at 2013-04-19T04:34
at 2013-04-19T04:34
By Caroline
at 2013-04-19T21:38
at 2013-04-19T21:38
By Quanna
at 2013-04-24T11:12
at 2013-04-24T11:12
By Dora
at 2013-04-27T20:49
at 2013-04-27T20:49
By Yedda
at 2013-04-30T06:28
at 2013-04-30T06:28
By Candice
at 2013-05-04T02:18
at 2013-05-04T02:18
By Olive
at 2013-05-07T22:42
at 2013-05-07T22:42
By Quintina
at 2013-05-09T00:16
at 2013-05-09T00:16
By Andy
at 2013-05-09T02:18
at 2013-05-09T02:18
By Puput
at 2013-05-12T07:20
at 2013-05-12T07:20
Related Posts
請推薦linux系統管理書籍
By Joe
at 2013-04-11T00:51
at 2013-04-11T00:51
ifconfig
By Jack
at 2013-04-10T22:16
at 2013-04-10T22:16
ctags 突然不能用這個指令
By Faithe
at 2013-04-10T20:21
at 2013-04-10T20:21
CentOS 5 無法開機
By Edwina
at 2013-04-10T20:20
at 2013-04-10T20:20
Canonical 台北辦公室徵人
By Dora
at 2013-04-10T16:16
at 2013-04-10T16:16