![]() There are several comments on SE as well, again most outdated, and most incomplete. I think they are outdated, but I have not tried recently. The CCompilerDriver user guide does have instructions for MinGW-w64. Since you seem to be doing this, can you give us an updated set of instructions on how to set this up, in particular for C code (not just plain C)? It just didn't get found automatically but you can still use it by telling the system where it lives.Īll that said, of course there can be valid reasons to want to use gcc with Mathematica on Windows. This also shows how to use the "GenericCCompiler" driver, which you can use for any C compiler. The documentation talks about how to use this, look for the section "MinGW for 64-bit targets": I think, the if you want MinGW/gcc, you need to use the MinGW-w64 project. "CompilerName" -> Automatic},, Sin x^2 - 1/(1 x)], Evaluate] "Compiler" -> CCompilerDriver`IntelCompiler`IntelCompiler, C:\ Program Files (x86)\ CodeBlocks \ MinGW \ bin C:\ MinGW \ \. A windows command line check confirms the compilers are installed. ![]() I installed gcc two ways: (i) via MinGW and (ii) CodeBlocks. I installed gcc but Mathematica (12) cannot seem to find it. ![]() Finance, Statistics
0 Comments
Leave a Reply. |