[uClibc] [Repost] Is there any advantage in utils/ldd being linked with uClibc?

Erik Andersen andersen at codepoet.org
Tue Jan 20 21:34:07 UTC 2004


On Tue Jan 20, 2004 at 02:14:58PM -0500, Charlie Brady wrote:
> 
> With reference to errors attempting to build ldd, I asked some questions. 
> I'm still interested in replies, in case anyone has insight and would like 
> to share.
> 
> ...
> 
> > Why should the uClibc versions be used? In the more general case that I'm 
> > building cross-development tools, uClibc may not even be installed on the 
> > build host.
> 
> uClibc's ldd compiles and runs fine with glibc and stock gcc:

I've added a new "make hostutils" target in uClibc/utils/Makefile
which will build the utils using HOSTCC (default gcc) and
HOSTCFLAGS (default -O2 -Wall), which produces
    uClibc/utils/ldd.host
    uClibc/utils/readelf.host
    uClibc/utils/ldconfig.host

Hopefully that takes care of things for you,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list