[Top][All Lists]

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

cross-compiling several dependent libraries

From: Jan Weil
Subject: cross-compiling several dependent libraries
Date: 18 Nov 2002 18:09:18 +0100

Hi all,

I am confronted with a problem which is already known.
But I didn't find a solution yet.

BTW, is there a way to _search_ the GNU mailing-list archives?

I found exactly the same problem described here:

I'm using autoconf 2.53, automake 1.5 and libtool 1.4.2a.

I'd like to cross-compile (arm-linux) several packages a, b... which
depend on library x.

cross-compiling x is no problem.

Package a, b... depend on x. So there is a AC_CHECK_LIB(x, func,,,) in

When I start configure with --build=i686 --host=arm-linux
the cross-compiling mode is activated and libx is found by
But when it's time to relink .libs/ arm-gcc-linux is told
to link with /usr/local/lib/ which obviously is the pc version.

arm-gcc-linux understandably refuses to link...

This is a libtool bug, right?

Am I missing anything?
Does a newer version of libtool fix this bug?



Jan Weil                        Fraunhofer
weil at hhi dot de              Institut Nachrichtentechnik
(+49 30) 3 10 02 - 8 76         Heinrich-Hertz-Institut

reply via email to

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