it's a very simple hello world console application.
clang++ main.cpp -std=c++14 -fno-ms-compatibility -c //it seems that the command works
but when i don't use -c options,
D:\WORK\aaa>clang++ main.cpp -std=c++14 -fno-ms-compatibility
clang++.exe: error: unable to execute command: program not executable
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
....................................... with -v option
"link.exe" -out:a.exe -defaultlib:libcmt -nologo "C:\\Users\\CREATXR\\AppData\\Local\\Temp\\main-030761.o"
clang++.exe: error: unable to execute command: program not executable
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
what's i need to do? thanks.