xref: /inferno-os/MacOSX/README (revision 6e425a9de8c003b5a733621a6b6730ec3cc902b8)
1*6e425a9dSCharles.ForsythThis file is of historical interest only, but serves to note that
2*6e425a9dSCharles.Forsythmuch of the work of the MacOSX ports was originally done by Corpus Callosum.
3*6e425a9dSCharles.ForsythBugs to support@vitanuova.com, though.
4*6e425a9dSCharles.Forsyth
5*6e425a9dSCharles.ForsythMarch 2006: initial MacOSX 10.4/x86 port
6*6e425a9dSCharles.Forsyth
737da2899SCharles.Forsyth12-Dec-2003
837da2899SCharles.ForsythEmu can use wm with Apple's X11R6 again.
937da2899SCharles.Forsyth
1037da2899SCharles.Forsyth08-Dec-2003
1137da2899SCharles.ForsythInferno Services (6660, 6666-6676, 2202)
1237da2899SCharles.Forsyth
1337da2899SCharles.Forsyth26-Aug-2003
1437da2899SCharles.ForsythIn order to run and use Inferno services appropriately on OSX, you need to ensure that the Sharing System Preferences include an entry in the Firewall section that is turned on and looks like the following line:
1537da2899SCharles.Forsyth
1637da2899SCharles.ForsythInferno services (6660, 6666-6674)
1737da2899SCharles.Forsyth
1837da2899SCharles.Forsyth
1937da2899SCharles.Forsyth05-Jul-2003
2037da2899SCharles.ForsythIn order to support 1.4, the build will now use the default 'mk' provided with the Inferno distribution.  You can also copy tcshrc to the Inferno ROOT and source the file from that directory before running or building emu.  Modified mkfiles and sources are now available in the srcMacOSX archive.  You may also want to change 'mkconfig' with the following diff
2137da2899SCharles.Forsyth
2237da2899SCharles.Forsyth% cvs diff -r 1.1 mkconfig
2337da2899SCharles.ForsythIndex: mkconfig
2437da2899SCharles.Forsyth===================================================================
2537da2899SCharles.ForsythRCS file: /usr/local/Repository/cvs/vitanuova/inferno_v14/mkconfig,v
2637da2899SCharles.Forsythretrieving revision 1.1
2737da2899SCharles.Forsythretrieving revision 1.3
2837da2899SCharles.Forsythdiff -r1.1 -r1.3
2937da2899SCharles.Forsyth7c7
3037da2899SCharles.Forsyth< ROOT=/usr/inferno
3137da2899SCharles.Forsyth---
3237da2899SCharles.Forsyth> ROOT=$ROOT
3337da2899SCharles.Forsyth17c17
3437da2899SCharles.Forsyth< SYSHOST=Plan9         # build system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
3537da2899SCharles.Forsyth---
3637da2899SCharles.Forsyth> SYSHOST=MacOSX                # build system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
3737da2899SCharles.Forsyth25c25
3837da2899SCharles.Forsyth< OBJTYPE=$objtype
3937da2899SCharles.Forsyth---
4037da2899SCharles.Forsyth> OBJTYPE=power
4137da2899SCharles.Forsyth
4237da2899SCharles.Forsyth
4337da2899SCharles.Forsyth
4437da2899SCharles.Forsyth16-May-2003
4537da2899SCharles.Forsyth
4637da2899SCharles.ForsythThe build now uses the open sourced 'mk' from http://www.pdos.lcs.mit.edu/~rsc/software/
4737da2899SCharles.Forsyth
4837da2899SCharles.ForsythThere is a file .tcshrc at the root of this tree (..) that can be used to set up the environment required to build emu.
4937da2899SCharles.Forsyth
5037da2899SCharles.Forsyth
5137da2899SCharles.Forsyth
5237da2899SCharles.Forsyth28-Feb-2001
5337da2899SCharles.Forsyth
5437da2899SCharles.ForsythThe initial port has been provided by Corpus Callosum Corporation.
5537da2899SCharles.Forsyth
5637da2899SCharles.ForsythThis port of Inferno for Darwin, Mac OS X, and Mac OS X Server hosted environments currently provides base 'emu' support.  Wm, audio, and other services are not currently ported.  It has only been tested on UFS partitions and will require further testing for HFS+ support.
5737da2899SCharles.Forsyth
5837da2899SCharles.ForsythEmu -c1 currently errors out as "Illegal instruction"
5937da2899SCharles.Forsyth
6037da2899SCharles.ForsythVarious malloc/free (from libc/System on Mac OS X/Darwin) warnings should be removed in the following version.
6137da2899SCharles.Forsyth
6237da2899SCharles.Forsytheia devices will recognize /dev/ttyd.irda and /dev/ttyd.modem though both are completely untested (need to get updates to the RCX interface to test irda).
6337da2899SCharles.Forsyth
6437da2899SCharles.ForsythThe following modification was added to various 'mkfile' to support required redefinition of varios core functions.
6537da2899SCharles.Forsyth
6637da2899SCharles.Forsyth	<$ROOT/mkfiles/mkalloc-$SYSHOST-$OBJTYPE
6737da2899SCharles.Forsyth
6837da2899SCharles.ForsythSome of the base libraries and utils will have *.pbproj files which were used to bootstrap the initial build system on Mac OS X (Public Beta).
6937da2899SCharles.Forsyth
7037da2899SCharles.Forsyth
7137da2899SCharles.Forsyth
7237da2899SCharles.Forsyth"Mac OS X" and "Mac OS X Server" are trade marks of Apple Computer, Inc.
73