On Mon, 18 Mar 2002, Robert Boehne wrote: > Under AIX, both shared and static libraries are > named lib*.a, so by default we don't build static > libraries, i.e. you get one or the other. When the > library is shared, the archvie file contains one > member, the shared library. This is how shared > libraries are typically done under AIX, if you're having > some problem with it, it isn't becuase it "just doesn't work".
I'm aware of the above, let me restate my email in a more verbose way. The problem I was running into occured when I tried to use libtool with the -static flag (which if I understand things correctly should create static libs). This would cause empty libraries to be created (all the object files got created correctly, but when libtool was called in link mode something like 'ar cru libfoo.a' would happen (ie no object files were specified on the ar line). To make static building work I had to supply the --disable-shared option at configure time. My main complaint/suggestion concerning the above was that I'd be nice if libtool either worked or returned a reasonable error when the -static option is specified, but libtool isn't configured to generate static libs by default (ie I don't like the behavior where it looks like it's working, but in fact only creates empty libraries). Hope that explains it better /Sam _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool