求大神如何安装低版本的gcc?
Tofloor
poster avatar
Narglc
deepin
2016-09-27 02:21
Author
如今再用的版本为gcc-5.3.1,想问下如何更简单的安装低版本的gcc,比如gcc-4.7
Reply Favorite View the author
All Replies
avatar
aurthur
deepin
2016-09-27 02:44
#1
我都装了6.2的了.这个怕是比较困难,除非你先用gcc编译安装别一个c编译器,如clang ,再用clang来编译低版本gcc源码。
Reply View the author
avatar
Narglc
deepin
2016-09-27 03:44
#2
额,听着就好麻烦
Reply View the author
avatar
132******13
deepin
2016-09-27 04:59
#3
源里有4.8版本的,能满足你的需求不
Reply View the author
avatar
aurthur
deepin
2016-09-27 05:16
#4
https://bbs.deepin.org/post/44032
源里有4.8版本的,能满足你的需求不

不能,我想要6.2 的,编译一次太烦人了。万一哪一天要重新配置系统,源里有6.2就好了
Reply View the author
avatar
132******13
deepin
2016-09-27 06:38
#5
https://bbs.deepin.org/post/44032
不能,我想要6.2 的,编译一次太烦人了。万一哪一天要重新配置系统,源里有6.2就好了 ...

我回复的是楼主啊,他要4.7的,我问问4.8可不可以,可以的话直接从源里面下载就行了
Reply View the author
avatar
aurthur
deepin
2016-09-27 06:42
#6
https://bbs.deepin.org/post/44032
我回复的是楼主啊,他要4.7的,我问问4.8可不可以,可以的话直接从源里面下载就行了 ...

呵呵,我知道。
Reply View the author
avatar
Narglc
deepin
2016-10-28 07:10
#7
https://bbs.deepin.org/post/44032
源里有4.8版本的,能满足你的需求不

谢谢,4.8也看到了,不过不行啊。。。
MATLAB里mex支持的最高版本只到4.7
不过已经解决啦,在服务器上编译了下,下载下来可用
Reply View the author
avatar
cily
deepin
2016-10-30 06:44
#8
GCC是可以同时安装几个版本的,用得时候切换版本。
Reply View the author
avatar
Feng Yu
deepin
2016-10-31 05:30
#9
可以考虑用docker或lxd
Reply View the author