Bjorn R. Jensen
Thu Oct 3 01:40:00 GMT 2002
The linker goes through the object files in the specified order
looking for unresolved symbols, all other symbols are ignored, even
if the symbols are needed later. This applies to symbols defined in
libraries as well.
If this was not done, the linker would have to keep track of huge
numbers of symbols most likely not needed at all....
On Thu, 03 Oct 2002 03:31:16 +0000, "Naveen Malik"
> Hi Everybody,
> I have to compile and link 5 C files.
> Let us assume that the five files are A, B, C, D and E.
> Now the problem is does it really matters as how I give their linking
> say A to E or E to A or any other combination. And if yes, then how?
> Please guide me.
> Naveen Malik
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
More information about the Gcc-help