View Single Post

   
  #1 (permalink)  
Old 01-04-2008, 07:58 PM
Thorsten Westheider
 
Posts: n/a
Default Relink against a single library

Suppose I have an executable foo that was linked against lib1.a,
lib2.a and lib3.a at some time in the past. Now there has been a
change in, say, lib2.a (but not in either lib1.a or lib3.a) requiring
to relink foo. Question: Is there a way to link against lib2.a only?
You may ask 'Why would anybody want to do that?' and the answer is
quite simple: lib1.a and lib3.a may be huge whereas lib2.a may be
tiny, making a total relink rather time consuming (imagine there are
some 100 executables to make). So if I could just relink against this
tiny lib that could save me a good deal of time. Any suggestions?
Reply With Quote