Ironically, the tutorials that I have posted don't seem to make mention of how the linker works. :/ Does anyone have more information on how to make a linker?

Though it may be easier to just use one thats already made, like you suggest Lightning, it would not be as capable for something that was to cross-compile for multiple platforms. And besides, I rarely like doing that when I can indeed make my own.