cd /usr/xkernel
uncompress xkernel.tar.Z
tar xf xkernel.tar
This will create several subdirectories in /usr/xkernel. A description of the x-kernel directory hierarchy can be found in /usr/xkernel/README. Note that you can skip this step if you are not the first person to install and use the x-kernel or x-Sim at your site.
cd /usr/xkernel/simulator/buildIf directory /usr/xkernel/simulator/build/solaris already exists---because someone else has already followed this procedure---then you have two choices.
mkdir solaris
Substitute the name of your build directory, as appropriate, in the rest of the steps.
cd /usr/xkernel/simulator/build/solaris
cp ../Template/Makefile.solaris Makefile
cp ../Template/example/* .
mkdir db
chmod 664 *
Note that if your build directory is not in /usr/xkernel/simulator/build, then you will have to use the full path names for these various files rather than the relative path names given above (i.e., /usr/xkernel/simulator/build/Template/example instead of ../Template/example).
XRT = ../../..to
XRT = /usr/xkernel
Note that this step is necessary only if your build directory is underneath your home directory. It is not necessary if your build directory is in /usr/xkernel/simulator/build since from there, ../../.. already points to the root of the x-kernel source tree.
cd /usr/xkernel/simulator/build/solaris
make system
Note that you can skip this step if you are not the first person to build an x-Sim for this platform.
cd /usr/xkernel/simulator/build/solaris
make compose
make depend
make
This sequence should result in the creation of the binary file xkernel in your build directory. Note that you may see what appear to be error messages about missing files (e.g., Makefile.local and DEPS/Makedep.*) when you run make compose. These warnings can be ignored.
cd /usr/xkernel/simulator/build/solaris
xsim