For AIX, libtool knows how to build "dynamic" libraries if you pass in -brtl or -Wl,-brtl using LDFLAGS. It will automatically add the -G flag when building a shared object.
Dan > From: Gary Kumfert <[EMAIL PROTECTED]> > > Libtool is currently builds shared objects only and > dumps them into *.a files. This is a problem for me > since I've got "#ifdef PIC" preprocessor directives in the > code. Static and dynamic loaded libraries do different > things and shouldn't be mixed in my case. > > I'm using the -G option to create dynamic libraries > (similar I think, to -fPIC for gcc). I think its new > to AIX5, and supercedes the "-bM:SRE etc etc." stuff (not sure). > I also add the "-qstaticinline" command for C++ code > to suppress warnings about duplicate symbols. > (Which brings up another question: when is libtool > gonna support C++?) > _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool