libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KCC archiver


From: Patrick Guio
Subject: KCC archiver
Date: Fri, 27 Oct 2000 13:39:29 +0200 (CEST)

Dear all

I try to use libtool to build a c++ library and I get the following

/bin/sh ../libtool --mode=link KCC  --restrict --strict_warnings
-L/usr/local/numerics/blitz/blitz/lib -lblitz
-L/usr/local/hdf/4.1r3_hpux/lib -lmfhdf -ldf -ljpeg -lz -o libmudfas3d.la
-rpath /temp/lib -version-info 0:0:0  libmudfas3d_la-init.lo
libmudfas3d_la-lop.lo libmudfas3d_la-mudfas.lo libmudfas3d_la-prolon.lo
libmudfas3d_la-qnc.lo libmudfas3d_la-restrict.lo
libmudfas3d_la-restrict_ops.lo libmudfas3d_la-restrictphi.lo
libmudfas3d_la-smooth.lo libmudfas3d_la-smooth_ops.lo  -lnsl -lm 
rm -fr .libs/libmudfas3d.la .libs/libmudfas3d.* .libs/libmudfas3d.*
ar cru .libs/libmudfas3d.a  libmudfas3d_la-init.o libmudfas3d_la-lop.o
libmudfas3d_la-mudfas.o libmudfas3d_la-prolon.o libmudfas3d_la-qnc.o
libmudfas3d_la-restrict.o libmudfas3d_la-restrict_ops.o
libmudfas3d_la-restrictphi.o libmudfas3d_la-smooth.o
libmudfas3d_la-smooth_ops.o 
ranlib .libs/libmudfas3d.a

Actually when creating a library with KCC, the instruction should be

KCC -o .libs/libmudfas3d.a libmudfas3d_la-init.o libmudfas3d_la-lop.o    
libmudfas3d_la-mudfas.o libmudfas3d_la-prolon.o libmudfas3d_la-qnc.o 
libmudfas3d_la-restrict.o libmudfas3d_la-restrict_ops.o 
libmudfas3d_la-restrictphi.o libmudfas3d_la-smooth.o 
libmudfas3d_la-smooth_ops.o

For a shared library, use a similar command, but change the
extension used in the library file name from .a to the appropriate
extension for your system.

I can hardcode the created libtool but it should be nice to have this
included.

Sincerely

Patrick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]