Skip to content
ckkashyap edited this page Nov 23, 2014 · 13 revisions

Welcome to the unix wiki!

A human readable kernel that can be used for experimentation and potentially some real world scenarios.

Building

If you have the dependencies installed - its just a matter of hitting make from the root directory.

Common Dependencies

    curl -s https://static.rust-lang.org/rustup.sh | sudo sh

You can download the latest binutils from ftp://ftp.gnu.org/gnu/binutils and then do the usual ./configure; make; make install

I got the information from http://wiki.osdev.org/GCC_Cross-Compiler#Binutils

Building on Mac

Just make sure that you configure binutils with the following options

./configure --prefix=$PREFIXDIR --target=x86_64-linux-gnu --disable-nls --disable-werror

After this do a make and make install. Binutils should get installed at $PREFIX/bin. Update staging/Makefile to use the newly created ld - which is likely to be called x86_64-linux-gnu-ld

Building on Linux

Just install nasm and rust and you should be good to go.

Clone this wiki locally