Full switch to clang/ELF. Drop ack. Simplify.

There is important information about booting non-ack images in
docs/UPDATING. ack/aout-format images can't be built any more, and
booting clang/ELF-format ones is a little different. Updating to the
new boot monitor is recommended.

Changes in this commit:

	. drop boot monitor -> allowing dropping ack support
	. facility to copy ELF boot files to /boot so that old boot monitor
	  can still boot fairly easily, see UPDATING
	. no more ack-format libraries -> single-case libraries
	. some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases
	. drop several ack toolchain commands, but not all support
	  commands (e.g. aal is gone but acksize is not yet).
	. a few libc files moved to netbsd libc dir
	. new /bin/date as minix date used code in libc/
	. test compile fix
	. harmonize includes
	. /usr/lib is no longer special: without ack, /usr/lib plays no
	  kind of special bootstrapping role any more and bootstrapping
	  is done exclusively through packages, so releases depend even
	  less on the state of the machine making them now.
	. rename nbsd_lib* to lib*
	. reduce mtree
This commit is contained in:
Ben Gras
2012-02-11 19:31:25 +01:00
parent 2487445f5f
commit 2fe8fb192f
5056 changed files with 16216 additions and 133169 deletions

View File

@@ -1,3 +1,27 @@
20120214:
Full switch to clang/ELF. ack is no longer supported.
clang is the ELF-generating compiler in the base system, gcc is
available as a package.
To boot ELF-format images, either reinstall your whole system,
thereby getting the netbsd-based boot loader, or use the boot
monitor as documented at
http://wiki.minix3.org/en/UsersGuide/BootMonitor
Single copies of ELF boot files are also stored in /boot on
make hdboot as a boot monitor compatability measure. In short,
to boot the ELF image in /boot using the boot monitor,
do "mb=1" and "kernel=/boot/kernel", then "boot" in the boot
monitor.
Workaround for header file timestamps causing perpetual recompiles:
# find /usr/pkg -name '*.h' | xargs touch
Now that CC is clang instead of ack (cc), the depend files will
be out of date, so to make world, do:
# make cleandepend clean world
20120213
Replace VFS with AVFS