Hi,
On Mon, Jul 31, 2000 at 05:08:25PM +0200, Patrick Guio wrote:
> I try to write a configure for a package I write in c++. For creating a
> library using the cxx on a DEC machine running Digital Unix. I need to add
> to the library the instantiations created in a directory called
> cxx_repository (actually the same problem happens using KCC the KAI c++
> compiler)
Actually, KCC is a different issue. For KCC, you just need to make sure
that KCC, not ar or ld, creates the static or shared library. It will
handle proper inclusion of template instantiations in the library.
Libtool's multi-language branch already has some support for KCC for
Linux, but it is easy to add support for KCC on Digital Unix and other
platforms.
> For example I would do first to create the objects
> cxx -c *.cpp
> and then in order to create my library
> ar r libfoo.a *.o cxx_repository/*.o
> Does anybody knows how to make libtool do the job?
Ideally, the multi-language branch would automatically do this for you.
I'm not sure of an easy way to make the released libtool do this. Perhaps
you could use one of Automake's LIB* related variables. I don't recall
the exact variable name(s).
-Ossama
--
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068 70E6 5EB7 5E71 F7A3 94A8