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


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to