# Running a C compiler on Windows Subsystem for LInux [closed]

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

## closed as off-topic by Szabolcs, Henrik Schumacher, garej, m_goldberg, Carl LangeMay 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.

• "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. – Szabolcs May 14 at 13:58