I read a few posts and concluded that extern tells compiler that \"This function exists, but the code for it is somewhere else. Don\'t panic.\" But how does the linker know
Linking usually happens this way: The command line is iterated over and every argument given is
At the end, every reference has to be fulfilled in order to successfully link. The order of lines given at the linker command line is important.