[Ilugc] Repost|To build a product using only static dependency libraries

  • From: prabu333@xxxxxxxxxx (Senthil Prabu.S)
  • Date: Mon Jan 24 12:04:16 2005

Hello List,
        I am wondering whether is it possible to build a product using only the 
static version of
it's dependency library by default. Normally when we compile any product, the 
compiler looks
for the shared version of it's dependency library. And when the shared version 
is not present,
it take the static version of the dependency product ( I use to fix this, by 
editing the configure
scipt sometime manually).

       My question is, Will it possible to tell the compiler to take only 
static 
dependency library by
default through some "flag values", when both static and shared version of the 
dependency libaries
are present. Is any better way out there.

      Also, I knew that using shared  dependent library will occupy less 
memory. 
But is there any
other valid reason to go with shared libraries. Can anyone in this list give me 
a detailed answer
on this issue.


--
Senthil Prabu.S

If you are smart enough to know that you're not smart enough to be an
Engineer, then you're in Business.
_________________________________________________________________




Other related posts: