I'm using a Windows 10 desktop. I download "GNU C&C++ Compile Tools x64 2023 Q1" and unzipped it. But when I configured the VS code "c_cpp_properties.json", I got a C/C++ Configuration Warnning in VS Code output tab saying:
Unable to resolve configuration with compilerPath "C:/NI_Linux_cross_compiler_x64/build/23Q1/x64/sysroots/x86_64-w64-mingw32/usr/bin/x86_64-nilrt-linux/x86_64-nilrt-linux-gcc.exe". Using "C:\MinGW\bin\gcc.exe" instead."
I wonder if the x86_64-nilrt-linux-gcc.exe can work. So I try it in PowerShell: ".\x86_64-nilrt-linux-gcc.exe --version" and "x86_64-nilrt-linux-gcc.exe --help". Nothing happen, neither information, warning or error.
It's my first try to use x86_64-nilrt-linux-gcc.exe. Is that normal?
Update:another version(2018-2019) of gcc work fine for my setup.
The result on top is from 2018-2019 version