Task: launch "Helloworld" program on Windows
Instruments: Linux mint, VScode, C++, Clang
Clang is cross-platform by definition. There was an attempt to install mingw however VSCode returned an error
"fatal error: 'iostream' file not found"
after command
clang++ --target=x86_64-pc-windows-gnu --sysroot=/usr/x86_64-w64-mingw32/ hello.cpp -o hello.exe
Further analysis revealed no C++ related libraries the folder. Command
sudo apt install mingw-w64 simply refuses to install. What am I doing wrong, and what other solutions are there?
p.s. I dont want to change the instruments. simply because. pls help