Azzera filtri
Azzera filtri

GCC 7.4 with R2018a

1 visualizzazione (ultimi 30 giorni)
sbei arafet
sbei arafet il 12 Ago 2019
Commentato: sbei arafet il 12 Ago 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

Risposte (1)

Walter Roberson
Walter Roberson il 12 Ago 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.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by