Thread: 1.6 source code
View Single Post
Old October 10th, 2003   #18 (permalink)
ammoQ
Emu author
 
ammoQ's Avatar
 
Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
Re: 1.6 source code

Quote:
the linker takes in the object code and converts it to machine code
Not exactly correct: the compiler already creates machine code; what the linker does is to tie the loose ends; for example, in object aaa there is a call to function x located in object bbb; during compile time (of aaa), the compiler cannot determine the address of x. This job, resolving all these external references, is the job of the linker.
__________________
If you think my English is bad, wait till you read my Polish.
ammoQ is offline   Reply With Quote