Compiling Mono on OSX

    Table of contents
    1. 1. Getting Started
    2. 2. Running unit tests

    Getting Started

    1. Create an account on GitHub.
    2. For Mono into your account.
    3. Clone your repository locally (this may take a while).
      • git clone git@github.com:YOUR-ACCOUNT/mono.git
    4. Add the original mono repo as your upstream source
      • git remote add upstream git://github.com/mono/mono.git
    5. Configure your branch
      • ./autogen.sh --prefix=/usr/local --enable-nls=no --enable-nunit-tests
    6. Build mono
      • make
    7. Install the new build
      • sudo make install

    Running unit tests

    Verify your build by running unit tests

    • make -k check

    Only run unit tests for corlib

    • cd mcs/class/corlib/
    • make run-test-local
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by