LLVM Discussion Forums

Linux compilations with Visual Studio and Clang

Back in 2019 I read somewhere that the Clang devs and Microsoft were collaborating to make Visual Studio compatible with Clang. IIRC the goal was to be able to use Visual Studio to build C++ programs for both Windows and Linux. I tested Visual Studio with Clang (on Windows) and I was hugely impressed at how well they work together!!

So what’s the situation if I want to compile some C++ code for Linux? I realise that some features won’t be supported (e.g. MFC) but what about cross-platform code? Is there some Linux version of Visual Studio now? Or does it work by cross-compiling from VS (in Windows) somehow?