GCC 7.4 with R2018a
3 views (last 30 days)
Show older comments
Hi,
Is there any way to install newest version of GCC on ubuntu 18.04 with matlab r 2018a which seems supporting only 6.3 version. Thanks
0 Comments
Answers (1)
Walter Roberson
on 12 Aug 2019
Yes, certainly. All you have to do is install whatever version of gcc that you want, and then replace the first gcc on your path with a small shell script that notices when it is invoked with --version and responds with a lie instead of the actual version.
Will it function properly? Who knows ?! Probably not. In particular, I suspect C++ exception handling will not work with code compiled with 6.3 .
But, of course, whether it will work or do anything useful was not your question: you just want to know if it can be installed.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!