[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross compilation problems

On Wed, Oct 25, 2000 at 09:30:05AM -0600, Gordon Matzigkeit wrote:
> >>>>> Steve Bowman writes:
>  SB> Hmmm.  I checked a few with ldd and they are looking for
>  SB> libc.so.6 which doesn't look good.  These libs come with the
>  SB> gcc-i386-gnu package.  I have version 1.7-4 of this package
>  SB> installed - and it looks broken.

Thanks for reminding me.  I would have replied sooner but was having
telco problems.

> 1.7-3 only installs a symlink from /usr/i386-gnu/lib -> /gnu/lib.
> Now, if you're getting libc.so.6-linked libraries in that directory,
> something's really wrong.  Maybe double-check that /usr/i386-gnu/lib
> is indeed a symlink to the directory that contains your Hurd-compiled
> libraries.
> If not, and you didn't tweak it yourself, we should file a bug report
> against gcc-i386-gnu.

No bug report needed.  /usr/i386-gnu/lib is indeed a symlink to /gnu/lib
and ldd under hurd shows:

        libc.so.0.2 => /lib/libc.so.0.2 (0x01022000)

for all libraries.  ldd under linux just finds the wrong libc so that's
the wrong way to check.


Steve Bowman  <sbowman@frostwork.net> (preferred)
Buckeye, AZ   <sbowman@goodnet.com> <bowmanc@acm.org>

Powered by Debian GNU/Linux and GNU/Hurd <http://www.debian.org>

Reply to: