Subject: Re: NOTICE: i386 port switched to ELF binary format
To: Paul Goyette <paul@whooppee.com>
From: Frank van der Linden <frank@wins.uva.nl>
List: port-i386
Date: 07/05/1999 19:17:46
On Mon, Jul 05, 1999 at 09:37:51AM -0700, Paul Goyette wrote:
> On Mon, 5 Jul 1999, Frank van der Linden wrote:
> Does this mean _all_ shared libs, including those that live in
> /usr/pkg/lib?  Do the ones from /usr/pkg/lib go into their own 
> directory /emul/aout/usr/pkg/lib or into the standard place?

You don't have to copy the ones in other directories then /usr/lib.
The ones in /usr/lib need to be copied, because they'll be overwritten
by their ELF counterparts.

> Does the kernel have to be built with OBJECT_FMT = ELF, or will
> the old build procedures work?

You don't need to set OBJECT_FMT for the kernel build. Just build a kernel
with COMPAT_AOUT and EXEC_ELF32; the format doesn't matter.

> (suggest continuing on with original numbering, rather than
> going back to 4!  :)

Probably a good idea :-)

> I think I'd recommend doing a ``make cleandir'' here before the
> first ``make''
> 
> > 	5) make install in each of those directories
> > 	   (you now have a toolchain of a.out binaries that will generate
> > 	    ELF binaries)
> > 	6) cd /usr/src/lib/csu ; make && make install
> 
> Ditto with the ``make cleandir''

Yes, you're right.

- Frank