MINGWROOT environment variable

By convention, the environment variable MINGWROOT tells the path to the compiler binaries like gcc.exe.

  • MSYS2: MINGWROOT=C:\msys64\mingw64\bin

This variable may be needed to modify the GNU Octave PATH on Windows when using “system()” calls with executables compiled by MinGW. A similar issues exists on Windows with Matlab and Parallel Computing Toolbox, that provides its own mpiexec.

We made a function to workaround these issues.