Skip to content

Toolchain Compilation

Sydney Erickson edited this page Feb 19, 2018 · 4 revisions

SydOS requires an i686-elf toolchain to get started. You can see if your package manager has one, but SydOS's git repo has a script to build one for you. You just need the i686-elf toolchain, but you're welcome to compile them all. The script will install all toolchains to $HOME/tools and use all cores on the system.

Make sure to add $HOME/tools to your PATH environment variable.

In addition to the custom toolchain you will need NASM and the build essentials for your distro. The copy of NASM that comes with Xcode WILL NOT WORK.

To build just the i686-elf toolchain:

cd scripts && ./toolchain-i686.sh

To build just the all toolchains:

cd scripts && ./all.sh
[package_manager_of_choice] install nasm
Clone this wiki locally