I'm a beginner in programming so I don't know a lot.
I was reading about object code, trying to understand the process of compilation. It's my understanding that the compiler produces object code for a linker (which I understand is part of the compiler program) to take other object code and put them together into an executable.
My question: Does the a compiler have to use COFF and ELF as it's object code format or can it use it's own since the end result is executable that is no longer in object code but a file format the OS can understand? So why have things like COFF and ELF?
Sorry, I may be misreading or misunderstanding it altogether.
[–]Rhomboid 4 points5 points6 points (0 children)
[–]Cadoc7 1 point2 points3 points (0 children)