Subject: Re: Sharing different m68k binaries (Was: Full source dist)
To: Julian Bean <jelibean@jmlbhome.demon.co.uk>
From: David Brownlee <david@city.ac.uk>
List: port-mac68k
Date: 11/09/1995 19:33:46
	Different m68k ports are binary compatible with the exception of
	programs using libkvm (both statically & dynamically linked).
	At least thats true between the sun3 & other m68k ports.. is
	there any reason the sun3 is special? (lib/libkvm/kvm_sun3.c?)

	That means you should be able to share all of /usr _apart from_
	/usr/lib/libkvm*... in fact the only specific files should be

	/netbsd
	/dev/*
	/etc/*
	/usr/lib/libkvm*
	/bin/ps
	/sbin/dmesg
	/sbin/ccdconfig

	It would be _really_ nice if you could share the entire userland
	between all the m68k implementations.... :)

	How much extra overhead would it be to rework libkvm to determine
	the 'kernel arch at runtime & DTRT...?

cd /usr/src;find . -name Makefile -print|xargs grep .-lkvm|sed 's/Makefile.*//'
./bin/ps/
./sbin/dmesg/
./sbin/ccdconfig/
./gnu/usr.bin/gdb/gdb/
./libexec/identd/
./libexec/rpc.rstatd/
./usr.bin/fstat/
./usr.bin/ipcs/
./usr.bin/netstat/
./usr.bin/nfsstat/
./usr.bin/systat/
./usr.bin/vmstat/
./usr.bin/w/
./usr.bin/gcore/
./usr.sbin/iostat/
./usr.sbin/kgmon/
./usr.sbin/pstat/
./usr.sbin/rwhod/
./usr.sbin/slstats/
./usr.sbin/eeprom/