Subject: Re: Followup:Hello, any hints....
To: Michael G. Schabert <mikeride@prez.buf.servtech.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/24/1998 17:12:55
> >>try either doing this:
> >>
> >>mount -u /usr
> >
> >bsd didn't understand or like that but 'mount /usr' solved the 'find'
> >problem.
mount -u updates existing mounts. If /usr werent' mounted, it wouldn't work.
> (much easier than the probs I'm having with the port-alpha, since they
> don't use ld.so at all & we must specify lib paths on linking of
> compiling...ugh...is NetBSD moving toward using the elf system at all, or
> is it just a port-alpha experiment at the moment?)
There's a lot of desire to move all ports to ELF.
They do have an ld.so.elf (well, pmax does). They don't have an ld.config,
though.
The reason is that one of the main reasons for ld.config is that our
a.out shared lib methods have minor numbers, and need to cache which is
the most recent library. ELF only has major numbers, and so doesn't need
this caching.
The problem you're running into is that ld.config also tells the system where
to look for libraries at link time, and that we don't have an easy answer
as to how to do that under ELF.
Take care,
Bill