I'm trying to write some "free standing" (What is the name for a program running directly without an OS?) code, and seeing as the OS-X linker has no support for linker scripts or flat binary output, I assume it would be best to use the GNU linker instead.
Is there a way to install/compile just the GNU linker without all of GCC?
Will a compiled GNU linker be able to understand the object files output by the OS-X version of the GAS assembler?
What is the best way to compile GCC if I can't just compile the linker?
Note: I want to compile, not use a package system.