Subject: Re: q3test + riva tnt working..
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-users
Date: 06/05/1999 17:53:39
On Sat, 5 Jun 1999 17:42:27 -0400
Mason Loring Bliss <mason@acheron.middleboro.ma.us> wrote:
> Hm. One thing that's sort of spooked me so far... When I have a kernel
> with COMPAT_AOUT in it, it looks like my "stuff" sees /emul/aout in place
> of what I'd expect it to see. To wit, "ls /usr" shows me the contents of
> /emul/aout/usr, not the actual contents of /usr. Is this to be expected,
> and will I run into any problems with this being the case?
That's expected. No real problems, and you can always ensure you'll get
the real root by doing e.g. "ls /../usr".
> So, the updated list of stuff to do, in order:
>
> Run kernel with COMPAT_AOUT and a populated /emul/aout
> BOOTSTRAP_ELF=YES >> /etc/mk.conf
> cd /usr/src/gnu/usr.bin && make clean && make depend && make && make install
> cd /usr/src/gnu/lib/libbfd && make clean && make depend && make && make install
> cd /usr/src/lib/csu && make clean && make depend && make && make install
> OBJECT_FMT=ELF >> /etc/mk.conf
> LDSTATIC=-static in /etc/mk.conf
> cd /usr/src && make build
>
> Is this correct? Also, a newbieish question, but where do I want to set
> and unset DESTDIR in this process to make sure stuff is working?
I won't comment on the rest of this until I have a chance to think about
it and make sure it's all correct :-)
It wasn't as simple for me, but that's because BOOTSTRAP_ELF didn't exist
when I did it :-)
-- Jason R. Thorpe <thorpej@nas.nasa.gov>