Skip to content

metta-systems/metta

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Metta OS

Metta is a multimedia, mobile, social OS

Join the chat at https://gitter.im/metta-systems/metta

My goal is to make Metta the platform for social, efficient and fun life on the internet. I call such internet egocentric, because it revolves around your needs and desires. See a more detailed description at https://metta.systems.

Be free!

मेता


To build Metta

  • Check out the sources:
 $ mkdir Metta; cd Metta
 $ git clone https://github.com/metta-systems/metta.git develop
 $ cd develop; git checkout develop

Sources will be checked out into branch "develop" under "Metta". This extra umbrella directory is needed because toolchain builder will create Metta/toolchain for the local toolchain it builds.

  • Install dependencies

  • yasm assembler, brew install yasm for example.

  • boost, brew install boost

  • OSSP UUID implementation, brew install ossp-uuid

  • up-to-date openssl, brew install openssl

  • cdrtools (for mkisofs), brew install cdrtools

  • cmake, brew install cmake

  • ninja, brew install ninja

  • bochs emulator, brew install bochs

All dependencies in one command:

 $ brew install yasm boost ossp-uuid openssl cdrtools cmake ninja bochs
  • Generate a toolchain.
 $ cd Metta
 $ sh develop/build_toolchain.sh

This is going to take a while.

If you're unable to build toolchain locally and are on a (post-) Lion Mac, download prebuilt one and unpack it.

 $ cd Metta
 $ wget https://r.metta.systems/downloads/toolchain-x86_64-darwin.tar.bz2
 $ tar xf toolchain-x86_64-darwin.tar.bz2
  • Build Metta
 $ cd Metta/develop/src
 $ sh buildit.sh
  • After successful build run emulator software to try out Metta.

src directory is preconfigured for using Bochs, so you can simply type:

 $ bochs -q

Build & test status dashboard