Matlab MEX is compatible just with GCC version 4.7.X, however OpenSUSE 13.1 comes with GCC 4.8.1, when I compile a Matlab MEX file a warning comes out: Warning: You are using gcc version '4.8.1'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'., and MEX compilation fails.I saw this question in stackoverflow: Installing older version of gcc, but OpenSUSE does not provide a repository with GCC older versions. How can I install easily an older version of GCC just for Matlab? And, how can I setup Matlab to do it correctly?I'm using Matlab 8.3 R2014a.
How to install older version of GCC for Mex compatibility with Matlab on OpenSUSE?
opensuse;gcc