.. title: A Glimpse of Inferno
.. slug: glimpse-of-inferno
.. date: 2017-04-28 22:24:18 UTC+02:00
.. tags: plan9, inferno, os, linux
.. status: draft
.. category: 
.. link: 
.. description: 
.. type: text

apt install libc6-dev-i386 liblibx11-dev:i386 libxext-dev:i386
cd /opt
hg clone https://bitbucket.org/inferno-os/inferno-os
cd inferno-os
dzu@deepthought:/opt/inferno-os$ hg diff mkconfig
diff -r 62ae0f75aa71 mkconfig
--- a/mkconfig	Thu Apr 20 23:47:36 2017 +0100
+++ b/mkconfig	Sun May 07 21:00:46 2017 +0200
@@ -4,7 +4,7 @@
 #	They are almost always the same.
 
 #	On Nt systems, the ROOT path MUST be of the form `drive:/path'
-ROOT=/usr/inferno
+ROOT=/opt/inferno-os
 
 #
 #	Specify the flavour of Tk (std for standard builds)
@@ -14,15 +14,15 @@
 #
 #	Except for building kernels, SYSTARG must always be the same as SYSHOST
 #
-SYSHOST=Plan9		# build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
+SYSHOST=Linux		# build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
 SYSTARG=$SYSHOST		# target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
 
 #
 #	specify the architecture of the target system - Plan 9 imports it from the
 #	environment; for other systems it is usually just hard-coded
 #
-#OBJTYPE=386			# target system object type (eg, 386, arm, mips, power, s800, sparc)
-OBJTYPE=$objtype
+OBJTYPE=386			# target system object type (eg, 386, arm, mips, power, s800, sparc)
+#OBJTYPE=$objtype
 
 #
 #	no changes required beyond this point
dzu@deepthought:/opt/inferno-os$ mk nuke
dzu@deepthought:/opt/inferno-os$ mk install
dzu@deepthought:/opt/inferno-os$ PATH=$PATH:/opt/inferno-os/Linux/386/bin
dzu@deepthought:/opt/inferno-os$ emu -r /opt/inferno-os -c0 -g1024x768
; wm/wm


