Cannot find /lib/libc_nonshared.a

Khem Raj raj.khem@gmail.com
Wed May 28 22:51:00 GMT 2008


On Wed, 2008-05-28 at 11:11 -0700, David Daney wrote:
> David Sehr wrote:
> > Ok, I've found where things are going wrong now.  It appears that the
> > glibc install is creating a libc.so (script) that uses an absolute
> > pathname to /lib.  Anyone have any pointers for how to convince it not
> > to do that, but rather to use libdir?
> > 
> 
> Configure your toolchain with --with-sysroot=???  With that ld and gcc 
> will interpret the paths relative to the sysroot.


Yes thats the right way to handle it specifying --with-sysroot to
cross-binutils and cross-gcc should get it right. You can also use
install-lib install-headers as install targets to glibc build if you
just need libraries and headers it wont install these scripts.

Thanks

-Khem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20080528/5e90cf3a/attachment.sig>


More information about the crossgcc mailing list