This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot find /lib/libc_nonshared.a


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?

David

On Wed, May 28, 2008 at 9:18 AM, David Sehr <sehr@google.com> wrote:
> Hi,
>
> I think I have one last configuration issue in my tool chain.  In
> building the gcc for my target I'm now getting the following error
> (after some debugging):
>
> /home/sehr/toolchain/install_dir/nacl/bin/ld: cannot find /lib/libc_nonshared.a
> collect2: ld returned 1 exit status
>
> The command line invoking collect2 has several -L arguments, one of
> which is a directory containing libc_nonshared.a.  Anyone have an idea
> why ld doesn't look there?
>
> Thanks,
>
> David
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]