Build a hosted Inferno environment.
emuare on the path by adding the directory containing those executables for the host system to the
If you have separate directories containing the build system and hosted installation then the path will refer to a directory in the build directory.
limboto compile programs, passing
-owith the location on the host's filing system of the resulting
.disfiles, which should be within the hosted environment.
-roption to specify the location of the hosted environment on the host's filing system and the
-doption to specify the location of the
.disfiles in the hosted environment.
Using the Inferno source directory as the root directory of the environment:
export INFERNO_ROOT=/home/user/inferno-os export SYSHOST=Linux export ARCH=386 export PATH=$INFERNO_ROOT/$SYSHOST/$ARCH/bin:$PATH limbo -o $INFERNO_ROOT/tmp/output.dis programs/Hello.b emu -d /tmp/output.dis
Using a hosted root:
export INFERNO_ROOT=/home/user/inferno-os export HOSTED_ROOT=/home/user/hosted export SYSHOST=Linux export ARCH=386 export PATH=$INFERNO_ROOT/$SYSHOST/$ARCH/bin:$PATH limbo -o $HOSTED_ROOT/tmp/output.dis programs/Hello.b emu -r $HOSTED_ROOT -d /tmp/output.dis