Comment on C++ Linker Errors on M1 macbook. It compiles fine with xcode, however is dislike the IDE very much and prefer to use the commandline. Which is why is suspect that xcode can compile but gcc cant. Developer Tools & Services General Aug ’22