Skip to content

Build Environment

Aman Priyadarshi edited this page Mar 12, 2017 · 10 revisions

Great to see that you are interested in compiling Atom OS!

System Requirements

  • 5 GB Free DiskSpace
  • Internet Connection
  • Windows 7 or later / Ubuntu

Build Platform

Building Toolchain i386-atomos (Est. 1hr)

  • Download Atom OS Source Code
  • Make sure you have a working C compiler and following packages are installed
    • gcc-g++, perl, make, texinfo, flex, bison
    • libgmp-devel, libmpc-devel, libmpfr-devel, zlib-devel, nasm
    • wget, patch
  • cd $root/src/Build
  • Execute Setup.sh --setup
    • Estimated Build time: 1hr
    • Download Size: 216 MB
  • Sit back and relax!

Building Libraries (Est. 30 mins)

  • cd $root/libs
  • Execute Build-zlib.sh
  • Execute Build-pixman.sh
  • Execute Build-libpng.sh
  • Execute Build-freetype.sh
  • Execute Build-cairo.sh

Building Kernel (Est. 10 sec)

  • Packages
    • nasm, genisoimage
  • cd $root/src/Build
  • Build Atomix.Kernel_H and Atomixilc Projects
    • xbuild /p:Configuration=Release ./src/Atomix.sln
  • Execute Build.cmd or Build.sh --mono
  • Kernel Bootable CD-Rom Image: Output/AtomOS-Alfa.iso