Giter Club home page Giter Club logo

ponyc's Introduction

Getting help

Editor support

Installation

Mac OS X using Homebrew

$ brew update 
$ brew install ponyc

Linux

We're transitioning to bintray. For now, please build from source.

Windows

You will need to build from source.

Building ponyc from source

Building on Linux Linux and OS X

First, install LLVM 3.6 using your package manager. You may need to install zlib, ncurses, pcre2, and ssl as well.

Note that Gentoo Linux users are currently affected by Gentoo bug 457530 (hotfix linked.)

This will build ponyc and compile helloworld:

$ make config=release
$ ./build/release/ponyc examples/helloworld

Building on FreeBSD

First, install the required dependencies:

sudo pkg install gmake
sudo pkg install llvm36
sudo pkg install pcre2
sudo pkg install libunwind

This will build ponyc and compile helloworld:

$ make config=release
$ ./build/release/ponyc examples/helloworld

Building on Mac OS X Linux and OS X

First, install homebrew if you haven't already. Then, brew the required dependencies:

$ brew update
$ brew install llvm
$ brew install pcre2

This will build ponyc and compile helloworld:

$ make config=release
$ ./build/release/ponyc examples/helloworld

Building on Windows Windows

The LLVM 3.7 (not 3.6!) prebuilt binaries for Windows do NOT include the LLVM development tools and libraries. Instead, you will have to build and install LLVM 3.7 from source. You will need to make sure that the path to LLVM/bin (location of llvm-config) is in your PATH variable.

You will also need to build and install premake5 (not premake4) from source. We need premake5 in order to support current versions of Visual Studio.

You may also need to install zlib and ncurses.

$ premake5 vs2013
$ Release build with Visual Studio (ponyc.sln)
$ ./build/release/ponyc examples/helloworld

ponyc's People

Contributors

sylvanc avatar sblessing avatar andymcn avatar fowles avatar darach avatar diltsman avatar jemc avatar jonas-l avatar benlaurie avatar chrisosaurus avatar doublec avatar andrea avatar shlomif avatar binary132 avatar cquinn avatar cgudrian avatar dckc avatar dleonard0 avatar mingodad avatar potpourri avatar seantallen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.