linking static library against dynamic library (Cygwin & libtool)

2003-03-14 Thread Laurent Marzullo
Hi, I've got a static library (--disable-shared) named libcdk-db-c.la and a dynamic library (--enable-shared --disable-static) named libcdk-db-pg.la and the shared library uses function of the static library. I'm working on cygwin platform. Here the link command of those two libraries: /bin/ba

300 Modelos de Cartas comerciais, avisos, convites, propostas, etc.

2003-03-14 Thread Redação Comercial
COMUNICADO IMPORTANTE!! Estamos lançando o KIT DE CARTAS COMERCIAIS, que sana suas dúvidas na elaboração de: agradecimentos, atestados e declarações, avisos, cartas de cobrança, cartas em inglês, comunicados, convites, contratos, propostas, empregos, solicitações e pedidos, telegramas, cartas p

Re: self contained library

2003-03-14 Thread Ronald Landheer-Cieslak
Do you mean by "self-contained" that it should even contain the C library functions it uses? If so, the only way I know of doing it is to make a static library archive, and link it into a shared library, statically linking the C library into it. I don't think Libtool knows how to do this, thou

Re: self contained library

2003-03-14 Thread Philip Willoughby
Today, Ronald Landheer-Cieslak wrote: >Do you mean by "self-contained" that it should even contain the C library >functions it uses? > >If so, the only way I know of doing it is to make a static library >archive, and link it into a shared library, statically linking the C >library into it. Ah, st

Re: self contained library

2003-03-14 Thread Ricardo Fabbri
On Fri, 14 Mar 2003, Ronald Landheer-Cieslak wrote: > Do you mean by "self-contained" that it should even contain the C library > functions it uses? > No. I don't want the C library and system libraries to be in the "self-contained" library. I will require the user to have libc6, for example.

Re: self contained library

2003-03-14 Thread Ronald Landheer-Cieslak
On Fri, 14 Mar 2003, Philip Willoughby wrote: > Today, Ronald Landheer-Cieslak wrote: > >Do you mean by "self-contained" that it should even contain the C > >library functions it uses? > > > >If so, the only way I know of doing it is to make a static library > >archive, and link it into a shared li

Re: self contained library

2003-03-14 Thread Ronald Landheer-Cieslak
The method will still work - just don't link to the C library statically, but do so for everything else (assuming you have static versions available, and taking into account that some code may need special compilation options to know it's going to be in a shared library, so don't use the .a fil

Re: self contained library

2003-03-14 Thread Philip Willoughby
Today, Ricardo Fabbri wrote: >On Fri, 14 Mar 2003, Ronald Landheer-Cieslak wrote: > >> Do you mean by "self-contained" that it should even contain the C library >> functions it uses? >> > >I don't want the C library and system libraries to be in the "self-contained" >library. I will require the u

libtool@gnu.org

2003-03-14 Thread Charles Wilson
Laurent Marzullo wrote: *** Warning: This system can not link to static lib archive /cygdrive/d/Workspace/CDK/dev/cdk-db/target/lib/libcdk-db-c.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** sha