Chad Page 3/2/97 Here's a little document about how to build and debug the ELKS kernel... it's probably going to be missing things for quite a while :) part 1: Setting up the build environment ---------------------------------------- First, you *must* have the source tar for Dev86-0.0.11. Because ELKS changes the syscall interface part, the binaries are not enough (at least not for now). Once you have both Dev86 and the latest ELKS sources, you're ready to start. You should untar Dev86 first, and then untar the ELKS files (use tar -xvzf _filename_ to unpack the tarfiles). Beginning with 0.0.53 the ELKS tarfile unpacks on top of the Dev86 sources, modifying only the parts of the library that need changing to accomodate the current ELKS system call interface. Then, build the Dev86 librarys (all the defaults are fine), and after you install it, go into the elks directory and enter 'make'. If all goes well, you will have your first ELKS kernel, configured identically to the one provided as the bootdisk. part 2: Configuring your new ELKS kernel ---------------------------------------- Usually, all you have to change is $/include/linuxmt/config.h to set the rootdisk device. For our purposes, set the rootdisk to 0x3c0 so you can use the second ramdisk as the root device (this makes it fast). Then rebuild the kernel. part 3: MAKE (and run) ELKS FAST! (or, better hacking through dosemu) ----------------------------------- dosemu is extremely useful for shortening the edit/build/run cycle.