libtool
[Top][All Lists]
Advanced

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

Re: Inter-library dependencies


From: Wesley W. Terpstra
Subject: Re: Inter-library dependencies
Date: Sun, 22 Oct 2000 16:41:50 -0600
User-agent: Mutt/1.2.5i

On Mon, Oct 23, 2000 at 12:07:37AM +0200, Carlo Wood wrote:
> On Sun, Oct 22, 2000 at 10:51:12AM -0600, Wesley W. Terpstra wrote:
> /bin/sh ./libtool --mode=link g++  -DDEBUG -g -fno-exceptions -pipe -Wall 
> -Woverloaded-virtual -Wundef -Wpointer-arith -Winline -Wwrite-strings -Werror 
>  -o libcw.la -rpath /usr/local/lib -version-info 0:0:0 version.lo 
> crosslink/libcrosslink.la io/libio.la kernel/libkernel.la llists/libllists.la 
> net/libnet.la ../libcwd/libcwd.la 
> which executes:
> libtool: link: error: cannot link shared libraries into libtool libraries
> 
> Duh.  Well, you said that it was supported in 1.4, not 1.3.5.

Yep, that's what 1.3.5 says. The cvs version definitely does not say that.

> > c++ -Wall -O2 -g -c mytest.c -o mytest.o
> > libtool c++ -Wall -O2 -g -o mytest mytest.o libcwd.la
> 
> Surely you mean: libtool c++ -Wall -O2 -g -o mytest mytest.o libcw.la
> Note the libcwd.la -> libcw.la
Indeed I did; good eye. :-)

> Thanks, I'll follow up with the results under 1.4-to-be tomorrow.
Good luck.

-- 
Wesley W. Terpstra <address@hidden>
Javien Canada Inc. - Linux Developer

Attachment: pgp1xZyJekXir.pgp
Description: PGP signature


reply via email to

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