"shima" <[EMAIL PROTECTED]>,
  In a message on 22 Nov 2005 07:44:29 -0800, wrote :

"> I need static library because of debugging requirement. But I also need
"> shared library. How can I link/wrap static library into shared library
"> in order to have debugging info?

There are a pile of reasons not to just 'wrap' a static library into a
shared one, not the least of which is the issues of Position Independent
Code (PIC).  libtool will automagically build both libraries (shared and
static) with all of the proper flags (eg -fPIC and -DPIC). And do it in
a platform independent way (or actually it will take care of figuring
out what to do on whatever platform you are running on).

info libtool
info automake


"> 
"> BR 
"> Shima
"> 
">                                               

                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://www.deepsoft.com/             ||FidoNet:    1:321/153            
http://www.deepsoft.com/~heller      /\






              
_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to