MinGW-w64 manual installation for MATLAB R2017b: Which installer options for threads and exception handling are preferred?

7 vues (au cours des 30 derniers jours)
Our firewall prevents use of the MATLAB Add-on installer and the 'mingw-w64-install.exe' standalone installer [the latter cannot download its "repository.txt" manifest file].
Following instructions from https://stackoverflow.com/questions/38393755/mingw-w64-offline-installer, I have downloaded the eight available, pre-built GCC 5.3.0 [recommended] and 7.2.0 [latest] x86_64 installation .7z archives:
  • x86_64-5.3.0-release-posix-seh-rt_v5-rev1.7z;
  • x86_64-5.3.0-release-posix-sjlj-rt_v5-rev1.7z;
  • x86_64-5.3.0-release-win32-seh-rt_v5-rev1.7z;
  • x86_64-5.3.0-release-win32-sjlj-rt_v5-rev1.7z.
  • x86_64-7.2.0-release-posix-seh-rt_v5-rev1.7z;
  • x86_64-7.2.0-release-posix-sjlj-rt_v5-rev1.7z;
  • x86_64-7.2.0-release-win32-seh-rt_v5-rev1.7z;
  • x86_64-7.2.0-release-win32-sjlj-rt_v5-rev1.7z.
For use as a MEX/MBUILD compiler for MATLAB R2017b, should I unpack the archive with:
  • threading model 'POSIX' or 'win32'; and
  • exception handling model 'seh' [Structured Exception Handling] or 'sjlj' [Set Jump Long Jump]?

Réponses (1)

Javier Mora de Sambricio
Javier Mora de Sambricio le 27 Fév 2019
It seems to be: x86_64, 5.3.0, posix, seh.
Or at least this is the version reported by gcc.exe --version using the executable provided in the MinGW-w64 package for Matlab 2018a (but the version is the same for 2017b, as stated in https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler, and most likely so are the threading and exception options).

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by