[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross compiler Problem
From: |
Jeff Bailey |
Subject: |
Re: Cross compiler Problem |
Date: |
Wed, 5 Jun 2002 21:25:34 -0700 |
User-agent: |
Mutt/1.3.28i |
On Wed, Jun 05, 2002 at 11:13:50PM -0500, Robert Lowe wrote:
> to tell the compiler explicitly where to find libs. It still doesn't
> work. It complains with the following error:
>
> i386-gnu-gcc test.c
> /usr/i386-gnu/bin/ld: cannot open /lib/libc.so.0.3: No such file or
> directory
> collect2: ld returned 1 exit status
Edit /lib/libc.so.0.3 and remove the /lib from in front of the
libraries. There's probably a better answer, but that worked well
enough for me to bootstrap the libio builds.
The problem is that gcc expects it to be a library, not a linker
script. The absolute paths in the linker script and respected and
they shouldn't be.
--
One of the great things about books is sometimes
there are some fantastic pictures.
-- George W. Bush