Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/05/09 10:56
Read: times


 
#162094 - Normally many small source files
Responding to: ???'s previous message
One thing is that commercial libraries are often built from houndreds or thousands of small source files. So the library contains huge numbers of small object files containing individual functions.

The linker then just picks up the functions it needs, instead of picking up a huge package just to get access to a tiny function.

But this is also a question of tools. A "standard" C linker can only link full object files. Some architectures or some compilers/linkers have extensions where the linker knows how to cut an object file into smaller blocks.

List of 10 messages in thread
TopicAuthorDate
How to use Libraries, are prototypes reqd?            01/01/70 00:00      
   lib + header file(s) goes hand-in-hand            01/01/70 00:00      
      put prototypes in header?            01/01/70 00:00      
         Should already be in a header file            01/01/70 00:00      
      Not exactly            01/01/70 00:00      
   Oh yes you do!            01/01/70 00:00      
      Why do warnings come?            01/01/70 00:00      
         Normally many small source files            01/01/70 00:00      
         so the solution is...            01/01/70 00:00      
            most likely            01/01/70 00:00      

Back to Subject List