Filter löschen
Filter löschen

GCC 7.4 with R2018a

1 Ansicht (letzte 30 Tage)
sbei arafet
sbei arafet am 12 Aug. 2019
Kommentiert: sbei arafet am 12 Aug. 2019
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

Antworten (1)

Walter Roberson
Walter Roberson am 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.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by