[Top][All Lists]

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

Re: LT_PATH_NM uses too strict a check

From: Bob Friesenhahn
Subject: Re: LT_PATH_NM uses too strict a check
Date: Sun, 26 Dec 2010 10:31:47 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Sun, 26 Dec 2010, Ximin Luo wrote:

This means libtool will only use standard `nm` when $build == $host. It will
overlook `nm` for (build, host) pairs of e.g.

- (i686-pc-linux-gnu, i486-pc-linux-gnu)
- (core2-pc-linux-gnu, athlon64-pc-linux-gnu)

This is too strict and unnecessary, because (AFAIK; I may be wrong) they still
use the same object file format, and the same `nm` will work on both platforms.

How is configure/libtool supposed to know that?

BTFW, most cross-build bugs which have been reported are due to host tools/libraries/headers accidentally leaking into the cross build. This is why the cross-build infrastructure needs to work really hard to prevent that.

Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

reply via email to

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