I now have the current CVS versions of automake, autoconf and the multi-language-branch of libtool installed on my AIX system. I am attempting to create C++ shared libraries and I wonder if you could help me a bit to determine the best way to arrange my Makefile.am's to use libtool. Let's start with the first C++ library: libTKernel.la depends on source files in $(top_srcdir)/src/_subpackage_ $(top_srcdir)/drv/_subpackage_ for 21 different instances of _subpackage_ This is typical of the 40-some libraries that comprise this library. Should I: 1) create 'convienence' libraries for each set of source files in $(top_srcdir)/src/_subpackage_/ then link these archives into libTKernel.la ? This was my previous approach, but it didn't seem to work on all platforms, also how does one make sure that PIC code is generated for the archive files? 2) attempt to compile all the source files from the 21 _subpackage_'s in a single Makefile, i.e. create all the object files, then create the library in one link? This fails on many platforms when done by hand because the link line is longer than the shell will allow. The other problem with this is that each _subpackage_ needs to include files from $(top_srcdir)/drv/_subpackage_ but a different _subpackage_ only needs the files from its own $(top_srcdir)/drv/_subpackage_. Doing all the files at once requires 22 include directories (or does it?). I would like some help to get me going, I have access to several platforms (that I have to have working) so I will definitely contribute to libtool's C++ usage. Thanks, Robert Boehne -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]
