Skip to content

Building the Flax Compiler

Zhia Yang edited this page Feb 7, 2015 · 3 revisions
  • You will need clang++ (in your $PATH), because only it is capable of compiling LLVM bitcode to object code.
  • Screw makefiles. Flax is currently using a third-party build system.
  • Binaries and sources are available here: http://91.206.143.88/capri/releases/
  • Documentation for the Capri script is available here: http://forum.osdev.org/viewtopic.php?f=2&t=28568&start=0
  • Ensure that the 'capri' executable is on your path (or just provide the absolute path to your shell)
  • Run 'capri' in the top-level directory.
  • Find the 'flaxc' executable in 'build/sysroot/usr/bin'
  • Additionally, default libraries will be copied from './libs' to './build/sysroot/usr/lib'
Clone this wiki locally