Is there any option to leverage the gcc compiler that’s on a Linux distribution that’s operating on WSL or WSL2 when compiling from Home windows?
I’m attempting to compile a program from my Home windows machine but it surely makes use of sqlite3 so I want a gcc compiler / suite. Most search outcomes point out issues like MinGW or TDM or Winsys. These appear to be huge fragile kitchen sinks to me, and with WSL sitting proper there, why not leverage that?
One poster on this dialogue mentions WSL however provides zero particulars:
I searched particularly for how you can use WSL for cgo however I’m developing empty. Am I lacking one thing? Is that this even a factor?
Notice that my aim is to run my take a look at suite in a Home windows surroundings. So operating the entire thing from inside WSL defeats the aim.