]> git.dujemihanovic.xyz Git - nameless-os.git/blob - how-to-compile
Merge branch 'drive'
[nameless-os.git] / how-to-compile
1 1. Compile an i686-elf GCC and binutils following the instructions on this page:
2 https://wiki.osdev.org/GCC_Cross-Compiler
3 Or use some tool to automate it, like I use crossdev on my Gentoo machine.
4
5 2. Install yasm, or modify the makefile to use nasm if you prefer it
6
7 3. Run make in the source root
8
9 4. Run the OS:
10 make run
11 This will create a disk image (if needed) and run it. Assumes that sfdisk, mtools and dosfstools are installed.