libtool
[Top][All Lists]
Advanced

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

Re: Does libtool support cross compile?


From: Grzegorz Jakacki
Subject: Re: Does libtool support cross compile?
Date: Mon, 13 May 2002 09:40:23 +0800 (CST)

Libtool is a software developed by volunteers. Saying that libtool is
"brain dead" is extremely rude and shows little respect to the people who
contribute their time for the benefit of others. Do you believe, that they
will be willing to help you after they read the last sentence of your
e-mail?

Good luck
Grzegorz

On Fri, 10 May 2002, H . J . Lu wrote:

> Libtool has been driving me nuts. I tried to cross compile a package which
>  uses libtool. For some reason, libtool wanted libgdbm.so from /usr/lib:
>
> /bin/sh ../libtool --mode=link mipsel-linux-gcc  -Wall -W -O2 -mips2 -fPIC -o 
> libsasl.la -rpath /usr/lib -version-info 8:8:1 common.lo saslutil.lo server.lo
> client.lo md5.lo dlopen.lo checkpw.lo config.lo db_gdbm.lo -lgdbm -ldl 
> -lcrypt -lpam
> rm -fr .libs/libsasl.la .libs/libsasl.* .libs/libsasl.*
> mipsel-linux-gcc -shared  common.lo saslutil.lo server.lo client.lo md5.lo 
> dlopen.lo checkpw.lo config.lo db_gdbm.lo  /usr/lib/libgdbm.so -ldl -lcrypt 
> -lpam -Wl,-soname -Wl,libsasl.so.7 -o .libs/libsasl.so.7.1.8
> /usr/lib/libgdbm.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
> Of course, it won't work. I found
>
> # Compile-time system search path for libraries
> sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
>
> in libtool. It is completely bogus for cross compile. My cross compiler knows
> where the libraries are. I guss I have to put in some kludges to fix the
> brain dead libtool.
>
>
> H.J.
>
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool
>

###################################################################
# Grzegorz Jakacki                         China IC Design Center #
# Senior Engineer, CAD Dept.               1 Gaojiayuan, Chaoyang #
# tel. +86-10-64365577 x2009               Beijing 100015, China  #
# Copyright (C) 2002 Grzegorz Jakacki, CIDC. All Rights Reserved. #
###################################################################





reply via email to

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