I have a piece of code written in C++11, which I want to compile as part of a MATLAB MEX file for GNU/Linux.
The problem is that MATLAB on Linux supports GCC 4.3 (and earlier) only, and does not support GCC 4.7 which is required to compile my C++11 code.
Is it possible to work-around the problem?
Would it be possible to work-around this by compiling some object files using GCC 4.7 and link them into the MEX file using GCC 4.3?
Thanks in advance!