On Thursday 15 February 2001 4:47 am, Sam TH wrote:
> On Tue, Feb 06, 2001 at 09:12:12PM -0600, Sam TH wrote:
> > On Wed, Feb 07, 2001 at 01:02:52AM -0200, Alexandre Oliva wrote:
> > > On Feb 6, 2001, Sam TH <[EMAIL PROTECTED]> wrote:
> > > > /bin/sh ../../libtool --mode-link c++ -o foo lib1.la lib2.la lib1.la
> > > > \ lib2.la lib1.la lib2.la
> > > >
> > > > Which is what I want. However, libtool then issues this command.
> > > >
> > > > c++ -o foo ./libs/lib1.a ./libs/lib2.a
> > >
> > > Which version of libtool are you using? This would definitely be a
> > > bug, but I don't think it's a bug present in current CVS versions nor
> > > in the latest stable release.
> >
> > Sadly, this is CVS from a couple days ago.
> >
> > [sam@bur-jud-175-135 ~/projects/abi-auto/abi]$ ./libtool --version
> > ltmain.sh (GNU libtool) 1.3c (1.859 2001/02/02 20:38:52)
>
> Well, I wrote that message a week ago. Does anyone have any idea why
> this is happening? Does it happen on other peoples' systems?
After the patch I just applied, I see this:
$ cd libtool/depdemo
$ ./libtool --version
ltmain.sh (GNU libtool) 1.3c (1.878 2001/03/31 23:51:07)
$ ./libtool -n --mode=link c++ -o foo l1/libl1.la l2/libl2.la l1/libl1.la
c++ -o .libs/foo l1/.libs/libl1.so l2/.libs/libl2.so
/home/gary/devel/savannah/libtool/depdemo/l1/libl1.la l1/.libs/libl1.so
-Wl,--rpath -Wl,/home/gary/devel/savannah/libtool/tests/_inst/lib
Here we have three libl1.so, two from the link line, and a third as a deplib
of libl2.
> Thanks lots. I'm really at a loss here. I don't want to include
> ./libs in the library search path.
Thanks for your patience. Could you try again with the HEAD release, and let
us know if it is still broken for you?
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool