libtool
[Top][All Lists]
Advanced

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

Re: Problem with '-L' switch.


From: Ralf Wildenhues
Subject: Re: Problem with '-L' switch.
Date: Wed, 16 Aug 2006 15:56:06 +0200
User-agent: Mutt/1.5.12 (2006-08-10)

Hello Vaclav,

* Vaclav Havlik wrote on Wed, Aug 16, 2006 at 03:42:17PM CEST:
> I build a library with libtool, say libbig.la, from C++ sources, on
> IA32. This libbig.la wants to link to libsmall.la as '-lsmall' . But,
> during creating libbig.la, g++ has '-L/usr/lib' before my (user's)
> paths, which is undesitable in my situation.

You mean libtool adds the -L/usr/lib?  In order to be able to find out
why it does that, please send the output of
  ./libtool --tag=CXX --config
  ./libtool --debug --tag=CXX --mode=link g++ -o libbig.la ...

(the second command is supposed to be the link line for libbig.la, with
the argument --debug added).  Please pack large output with gzip.

> As it seems.  And this problem seems to depend on some other
> configuration of Linux system. On AMD64 it does not occur, although
> the versions of libtool are the same.

Yes, it depends on the system and some other things whether this could
happen (for example the values of the sys_lib_*search_path_spec
variables).

Cheers,
Ralf




reply via email to

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