1
$\begingroup$

I want to use the compile-to-C functionality of Mathematica. Has anyone gotten the C compiler driver to recognize a C compiler (for instance gcc) installed on a Windows Subsystem for Linux?

I am running: Windows 10 and Version 1809

Mathematica 12

$\endgroup$

closed as off-topic by Szabolcs, Henrik Schumacher, garej, m_goldberg, Carl Lange May 17 at 17:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – Szabolcs, Henrik Schumacher, garej, m_goldberg, Carl Lange
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ "I want to use the compile to C functionality" Can you be more specific about what exactly you want to do? The statement is ambiguous. If you want Compile with "CompilationTarget" -> "C", then the simple answer is that this is not possible with the WSL compiler because it produces shared libraries for Linux which cannot be loaded into a Windows process. $\endgroup$ – Szabolcs May 14 at 13:58

Browse other questions tagged or ask your own question.