[Top][All Lists]

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

Re: Libtool 1.5 - Cross-compilation and library substitution [newbie]

From: Ralf Wildenhues
Subject: Re: Libtool 1.5 - Cross-compilation and library substitution [newbie]
Date: Thu, 20 Nov 2008 19:04:52 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Thierry,

* Thierry Pierret wrote on Wed, Nov 19, 2008 at 12:19:04PM CET:
> g++ ... -shared ... -o ... -lccext2 -l... ... `pkg-config
> --libs sdl`
> that I transformed into :
> $(SHELL) libtool --mode=link --tag=CXX g++ ...
> The normal output of the pkg-config command is :
> -Wl,-rpath,/home/navidev/Dev/ltib/rootfs/usr/lib
> -L/home/navidev/Dev/ltib/rootfs/usr/lib -lSDL -lpthread
> Using libtool, I can notice that -lSDL has been replaced with
> /usr/lib/, which is the wrong library. And only this library option
> has been replaced. All the other -l options have not been subtituted.

In order to be able to say what's going on, we need the output of
  ./libtool --tag=CXX --config

as well as the output of the --mode=link command, with --debug added
as first argument to ./libtool.  Please gzip or bzip2 large outputs.

However, please also note that the current Libtool version is 2.2.6,
so that if you encounter bugs fixed since, we won't take much action.
And we will be more interested in reading logs of 2.2.6.


reply via email to

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