Subject: Re: NOTICE: i386 port switched to ELF binary format
To: Todd Vierling <tv@pobox.com>
From: Paul Goyette <paul@whooppee.com>
List: port-i386
Date: 07/05/1999 16:55:52
Yep - that was it.
So now, the instruction sequence seems to be:
0) Get the -current sources
1) Copy all the shared objects from /usr/lib to /emul/aout/usr/lib
2) Boot from a kernel with EXEC_ELF, EXEC_AOUT, and COMPAT_AOUT all
defined
3) setenv DESTDIR /../.
setenv OBJECT_FMT ELF
4) cd /usr/src; make includes
5) cd /usr/src/share/mk; make install
6) setenv BOOTSTRAP_ELF 1
7) cd /usr/src/gnu/usr.bin
for i in binutils.* gas.new ld.new egcs/*; do
(cd $i; make cleandir; make depend; make; \
setenv OBJECT_FMT a.out; make; setenv OBJECT_FMT ELF)
done
# (expect the link in the first make to fail)
8) for i in binutils gas.new ld.new egcs; do
(cd $i, make install)
9) cd /usr/src/libexec/ld.elf_so; <======new
make cleandir; make depend; make; make install <======new
10) cd /usr/src/lib/csu
make cleandir; make depend; make; make install
11) cd /usr/src
make build
--------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
--------------------------------------------------------------------------