Hello, this is not something the project supports or have tested.
I think using mingw (
https://www.mingw-w64.org/downloads/) would be the start of it, but I have no idea what’s the state.
Also keep in mind that osquery has several libraries that have an hardcoded configuration that has been generated using the native compilers.
It’s likely that MinGW doesn’t support all that MSVC supports, or in general the library has to be reconfigured against MinGW to work properly.
This is a pretty long process… also the osquery CMake will likely need changes.