由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - help needed-install gcc/g++ 4.7 on ubuntu 14.04
相关主题
GCC的编译?can I install fonts to view Chinese in Unix?
GCC 一问Re: can I install fonts to view Chinese
Is GCC able to do this?could Matlab 2013R installed on Ubuntu 14.04 32 bit?
GCC 和 G++ 的区别在什么地方?Questions about Makefile
请问:装了GCC以后[转载] 请教三个关于emacs和perl的问题
g++编译时加了优化代码选项是不是会改变代码顺序?A tough compiler problem
初级问题:怎么打开.rpm文件阿?[转载] molscript and grasp
Installation of cxterm on SGIwhere is libstdc++
相关话题的讨论汇总
话题: gcc话题: matlab话题: ubuntu话题: 2014a话题: install
进入Unix版参与讨论
1 (共1页)
b********s
发帖数: 436
1
I have installed Matlab 2014a on Ubuntu 14.04. The supported compiler for
this Matlab is gcc/g++ 4.7. However, the Ubuntu 14.04 comes with a default
version of gcc 4.8. Do you know how I can install gcc 4.7, rather than
compiling the program with 4.8? In other words, the Matlab 2014a only
supports the GCC 4.7. I cannot use gcc 4.8.
Thanks very much for your help!
T**********l
发帖数: 12149
2


【在 b********s 的大作中提到】
: I have installed Matlab 2014a on Ubuntu 14.04. The supported compiler for
: this Matlab is gcc/g++ 4.7. However, the Ubuntu 14.04 comes with a default
: version of gcc 4.8. Do you know how I can install gcc 4.7, rather than
: compiling the program with 4.8? In other words, the Matlab 2014a only
: supports the GCC 4.7. I cannot use gcc 4.8.
: Thanks very much for your help!

T**********l
发帖数: 12149
3


【在 b********s 的大作中提到】
: I have installed Matlab 2014a on Ubuntu 14.04. The supported compiler for
: this Matlab is gcc/g++ 4.7. However, the Ubuntu 14.04 comes with a default
: version of gcc 4.8. Do you know how I can install gcc 4.7, rather than
: compiling the program with 4.8? In other words, the Matlab 2014a only
: supports the GCC 4.7. I cannot use gcc 4.8.
: Thanks very much for your help!

b********s
发帖数: 436
4
I have installed Matlab 2014a on Ubuntu 14.04. The supported compiler for
this Matlab is gcc/g++ 4.7. However, the Ubuntu 14.04 comes with a default
version of gcc 4.8. Do you know how I can install gcc 4.7, rather than
compiling the program with 4.8? In other words, the Matlab 2014a only
supports the GCC 4.7. I cannot use gcc 4.8.
Thanks very much for your help!
a*******y
发帖数: 15
5
You can modify the mexopts.sh file, change the variables like the following
CC='gcc-4.7'
CXX='g++-4.7'
and save it to ~/.matlab/R2014a/
For installing gcc-4.7, run the following command
sudo apt-get install gcc-4.7

【在 b********s 的大作中提到】
: I have installed Matlab 2014a on Ubuntu 14.04. The supported compiler for
: this Matlab is gcc/g++ 4.7. However, the Ubuntu 14.04 comes with a default
: version of gcc 4.8. Do you know how I can install gcc 4.7, rather than
: compiling the program with 4.8? In other words, the Matlab 2014a only
: supports the GCC 4.7. I cannot use gcc 4.8.
: Thanks very much for your help!

1 (共1页)
进入Unix版参与讨论
相关主题
where is libstdc++请问:装了GCC以后
漆血柜求g++编译时加了优化代码选项是不是会改变代码顺序?
[转载] ask a question.初级问题:怎么打开.rpm文件阿?
Help: convert // to /* */ in C code?Installation of cxterm on SGI
GCC的编译?can I install fonts to view Chinese in Unix?
GCC 一问Re: can I install fonts to view Chinese
Is GCC able to do this?could Matlab 2013R installed on Ubuntu 14.04 32 bit?
GCC 和 G++ 的区别在什么地方?Questions about Makefile
相关话题的讨论汇总
话题: gcc话题: matlab话题: ubuntu话题: 2014a话题: install