libtool
[Top][All Lists]
Advanced

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

Library search path and cross-compilation


From: Sasayama
Subject: Library search path and cross-compilation
Date: Tue, 09 Nov 2004 13:26:52 +0900
User-agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7) Gecko/20040616

I'm trying cross-compilation of libtoolized packages and have problems.

First, libtool searches /lib, /usr/lib, and /usr/local/lib for .la files
instead of implicit library directories for cross-compilation, and fails
to link unless I specify those directories explicitly.

Second, since the .la files specify the library directories in the
target environment, they must be modified for successful
cross-compilation. This requires me to maintain two versions of a .la
file, one for target and the other for host.

Third, if I have worked around the second problem, libtool sometimes
embeds host directories in the run path which is wrong in the target
environment.

Is there any idea to solve them? Or does a newer developer version
already has support for cross-compilation? I have version 1.5.10 now.

Thank you in advance.

Attachment: tte_sasayama.vcf
Description: Vcard


reply via email to

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