win64 is broken.
	tried TDM-GCC-64 but it doesn't have the ddk headers
	setjmp.s and fp.s are wrong for amd64 instructions

$objtype == $cputype == win32

To rebuild from source we use mingw

//host/share/path... syntax works, except where cleanname cleans it up...

listen, dosd, awk, and rc
	all simple windows applications, everything else relies on lib9.a

makefiles
	read $plan9, $objtype and $cputype

yacc
	reads $plan9 so it can locate $plan9/sys/lib/yaccpar[s]

listen
	sets $cputype, $objtype, $NPROC, $sysname, $timezone
	writes a log to $plan9/sys/log/listen if it exists
	looks for services in $plan9/$cputype/bin/service of the form tcpNNNN.exe or ucpNNNN.exe
	reads $plan9

dosd
	ascii (not uticode) app
	pure windows code, does not rely on lib9
	sets $home, $user, and $service
	reads $plan9, $cputype, and $COMSPEC (if rc(1) is not found)

ps
	reads $pathext (so it can strip valid extensions from executable names)

chgrp
	tries to take TAKE_OWNERSHIP, RESTORE, BACKUP, CHANGE_NOTIFY priviledges

netstat, procaux, and ps
	all try to take DEBUG privledge

ls gets new flags for devices and links, also unix style symlink indication

chmod cannot set acls yet

dosd knows to create the pipe for stdin with message mode

makefiles
	install rules are rather complex, this is because rc(1), cp(1),
	dosd(8) and listen(8) are typically running at the moment you are
	trying to rebuild.  to work around this we rename the file first,
	copy in the new one and deleted the renamed file.  we must also
	remove any old temporary files from failed previous installs, and
	also this only works once per invocation of each executable.

	this means that after installing dosd(8) or rc(1) you must
	disconnect and reconnect, and to install listen you must shut that
	down and restart.  failure to do this will cause the build to
	fail.  Having said this you would have to take these steps to see
	the benifit of the new apps anyway.

	finally, after installing dosd(8) you must copy the new executable
	into an apropriately numbered file in the
	$plan9/$objtype/bin/service directory (tcp9998.exe by convention).

