Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!portal!cup.portal.com!thinman From: thinman@cup.portal.com (Lance C Norskog) Newsgroups: comp.os.mach Subject: Re: Mach 3.0: what's missing? Message-ID: <40468@cup.portal.com> Date: 23 Mar 91 03:35:29 GMT References: <3444@engadm3.csd.mot.com> <31910@mimsy.umd.edu> Distribution: na Organization: The Portal System (TM) Lines: 29 James da Silva writes (in response to my questions): > > The /boot program (and the initial boot sector, too) are not supplied with > the FTPable distribution. The Mach kernel expects to be loaded at 1 Meg, > with protected mode on, paging off. The current DDJ has a series of articles on this; the source came from the BSD386 project. It's available on Compuserve via "GO DDJ". (I'm quoting from memory here.) I loaned my tapes out, so I can't verify it, but I could swear I saw some boot loader code in there, in the MK42 source distribution. Also, someone recently posted a nice boot loader in comp.sources.unix. > Also, Mach is normally built at CMU with their own version of Make. Their > compiler also understands the environment variables CPATH and LPATH as > search paths for include files and libraries, respectively. The Makefiles > take advantage of these features, so you can't build Mach with a normal > make and cc. > > As has been remarked here, Gnu Make has equivalent (but different syntax) > functionality, so the Mach sources could be converted to it. Has anyone > done this successfully, and if so, are you willing to post your diffs? It > would save a fair amount of duplicated busy work by others. Just use a shell script for CC that hunts for CPATH and LPATH as environment variables; this and some mild editing should do the trick. Lance, posting from my other account