Hacking the Compiler


Build and Deploy

Pull the source from GitHub

git clone https://github.com/objeck/objeck-lang.git

Linux and OS X

  1. Download build dependencies
  2. sudo apt-get install build-essential libssl-dev unixodbc-dev libfcgi-dev uuid-dev
  3. cd to
  4. Run the deploy script
    • For Linux 32-bit:
      ./deploy.sh 32
    • For Linux 64-bit:
      ./deploy.sh 64
    • For OS X:
      ./deploy.sh osx
  5. Test
  6. cd deploy/bin
    ./obc -src ../examples/0_hello.obs -dest ../hello.obe
    ./obr ../hello.obe


  1. Building the code requires Visual Studio 2015
  2. Open the “objeck-lang/core/release/objeck.sln” solution file
  3. Right click and goto the properties for the “VM” project
  4. Add the includes and static libraries for OpenSSL, located under the “objeck/main/src/vm/lib/win32” directory
  5. Click “Rebuild All”