
Ported by..

oreillym@tartarus.uwa.edu.au (Michael O'Reilly).

With thanks to 
	"Brandon S. Allbery" <bsa@kf8nh.wariat.org>

arguments to mkimage/mkstub were...
	-a 0x63f00000 -l /lib/libmh -v1.1 -j0x800 -g4096
Hopefully this won't conflict with any other shared libraries..

MH binaries made with shared libraries are approx 1/4 the size of
non-shared library binaries. (800K vs 3.2 megs including library
files).

MH config file is...

# @(#)$Id: MH,v 1.7 90/04/06 09:44:31 sources Exp $
# Linux i386
bin	/usr/mh/bin
bboards	off
etc	/usr/mh/lib
mail	/usr/spool/mail
mandir	/usr/man
manuals	standard
chown	/usr/bin/chown
cc	gcc
ccoptions	-traditional -D_NFILE='getdtablesize()' -DSIGEMT=SIGUSR1 -O2
ldoptions -s	
lex	flex
ranlib	on
mts	sendmail
bboards	pop
bbdelivery	on
bbhome	/usr/spool/bboards
pop	on
popdir	/usr/mh/etc
signal	void
sprintf	int
mailgroup	mail
curses	-lcurses -ltermcap
options	SYS5 SHADOW MORE='"/usr/bin/more"' RENAME SYS5DIR UNISTD SVR4 MIME
options	VSPRINTF MHE OVERHEAD RPATHS DUMB ATHENA DPOP POP2 RPOP BIND SOCKETS
options NTOHLSWAP


See brandon's diff to make your own. Sorry, no diffs to make shared
libraries. Too much hacking to makefiles to make it worth it. (the
makefile are generated by the config process).

One bug that brandon missed:
	uip/replbr.c has a call to rewind();
add..
#ifdef linux
	lseek(fileno(in), 0L, 0);
#endif

(presumeing that the rewind was rewind(in) ).



Hmm, can't think of anything else. Enjoy.

Michael.
