[uClibc]cvs commit to uClibc/extra/gcc-uClibc by andersen

Michael Shmulevich michaels at jungo.com
Tue Apr 24 08:08:16 UTC 2001


Erik,

> Make sure that we list the shared lib loader as a required lib
> by explicitly linking against it.  That way 'ldd' tells us what
> we need to know.

Going back to discussion with Manuel, I think you must not use dynamic 
linker as an explicit target for gcc. You must however, add ld.so to 
dependencies of uClibc.

Reason for that:

During cross compilation the linker must NOT lie in the place specified 
with --dynamic-linker, since gcc doesn't check if the file exist at all. 
You must only take care of putting the file there on a target. Clearly 
if you specify the linker on command line, you must put it on target 
wherever it was compiled before.


>  -Erik
-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels at jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)






More information about the uClibc mailing list