Why does -Wl,–entry work with gcc, but not g++? – Ubuntu
I am trying to compile a program so that it starts on a different entry point. I am running WSL1 with Ubuntu 20.04.5, and GCC and G++ 9.4.0 I found that adding the flag -Wl,--entry=foo to the compiler will link…