Hi,
I know ".o" files are object files..but that's about all I know..
So you can compile a ".cc" file and turn it into a ".o" file? then link a bunch of ".o" files to make a "exe" file?
correct me if I'm wrong...
Thanks
Hi,
I know ".o" files are object files..but that's about all I know..
So you can compile a ".cc" file and turn it into a ".o" file? then link a bunch of ".o" files to make a "exe" file?
correct me if I'm wrong...
Thanks
Which is the master, which is the student?
File names tend to be compiler/OS specific, but the concept is correct. The compiler turns source into relocatable object, the linker locates the relocatable object to form an executable, resolving any other external references, (libraries for example), as it does so.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.