Hi Peter
I found the answer.
For Mac to run MinGW.
Just install Xcode in terminal using
xcode-select --install
In the Mathematica program ,delete:
$CCompiler = {“Compiler” →
CCompilerDriverGenericCCompilerGenericCCompiler,
“CompilerInstallation” → “C:\MinGW”, “CompilerName” → “gcc.exe”};
The resulting code for the compiler is:
Clear[“Global`*”];
Needs[“CCompilerDriver`GenericCCompiler`”];
CompileOptions = {CompilationTarget → “C”,
RuntimeOptions → {“CatchMachineOverflow” → False,
“CatchMachineUnderflow” → False,
“CatchMachineIntegerOverflow” → False,
“CompareWithTolerance” → False, “EvaluateSymbolically” → False,
“RuntimeErrorHandler” → Evaluate, “WarningMessages” → False},
CompilationOptions → {“InlineExternalDefinitions” → True,
“InlineCompiledFunctions” → True,
“ExpressionOptimization” → True}};
Just run it.
Thats it!
Thanks for your help also Peter!
Regards
Adrian